Current Dir: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/_distutils/__pycache__/
[FILE] archive_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] bcppcompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] ccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] cmd.cpython-310.pyc [ edit | delete | rename ]
[FILE] config.cpython-310.pyc [ edit | delete | rename ]
[FILE] core.cpython-310.pyc [ edit | delete | rename ]
[FILE] cygwinccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] debug.cpython-310.pyc [ edit | delete | rename ]
[FILE] dep_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] dir_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist.cpython-310.pyc [ edit | delete | rename ]
[FILE] errors.cpython-310.pyc [ edit | delete | rename ]
[FILE] extension.cpython-310.pyc [ edit | delete | rename ]
[FILE] fancy_getopt.cpython-310.pyc [ edit | delete | rename ]
[FILE] filelist.cpython-310.pyc [ edit | delete | rename ]
[FILE] file_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] log.cpython-310.pyc [ edit | delete | rename ]
[FILE] msvc9compiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] msvccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] py35compat.cpython-310.pyc [ edit | delete | rename ]
[FILE] py38compat.cpython-310.pyc [ edit | delete | rename ]
[FILE] spawn.cpython-310.pyc [ edit | delete | rename ]
[FILE] sysconfig.cpython-310.pyc [ edit | delete | rename ]
[FILE] text_file.cpython-310.pyc [ edit | delete | rename ]
[FILE] unixccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] util.cpython-310.pyc [ edit | delete | rename ]
[FILE] version.cpython-310.pyc [ edit | delete | rename ]
[FILE] versionpredicate.cpython-310.pyc [ edit | delete | rename ]
[FILE] _msvccompiler.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/_distutils/__pycache__/fancy_getopt.cpython-310.pyc
o
�_�axE � @ s� d Z ddlZddlZddlZddlZddlT dZe�de �Ze�deef �Z e
�dd�ZG d d
� d
�Z
dd� Zd
d� ejD �Zdd� Zdd� ZG dd� d�ZedkrndZdD ]Zede � ed�eee��� e� qXdS dS )a6 distutils.fancy_getopt
Wrapper around the standard getopt module that provides the following
additional features:
* short and long options are tied together
* options have help strings, so fancy_getopt could potentially
create a complete usage summary
* options set attributes of a passed-in object
� N)�*z[a-zA-Z](?:[a-zA-Z0-9-]*)z^%s$z^(%s)=!(%s)$�-�_c @ s� e Zd ZdZddd�Zdd� Zdd� Zd d d
�Zdd� Zd
d� Z dd� Z
dd� Zdd� Zdd� Z
d dd�Zdd� Zddd�Zd dd�ZdS )!�FancyGetopta� Wrapper around the standard 'getopt()' module that provides some
handy extra functionality:
* short and long options are tied together
* options have help strings, and help text can be assembled
from them
* options set attributes of a passed-in object
* boolean options can have "negative aliases" -- eg. if
--quiet is the "negative alias" of --verbose, then "--quiet"
on the command line sets 'verbose' to false
Nc C sN || _ i | _| j r
| �� i | _i | _g | _g | _i | _i | _i | _ g | _
d S �N)�option_table�option_index�_build_index�alias�negative_alias�
short_opts� long_opts�
short2long� attr_name� takes_arg�option_order��selfr � r �D/usr/lib/python3/dist-packages/setuptools/_distutils/fancy_getopt.py�__init__) s
zFancyGetopt.__init__c C s( | j �� | jD ] }|| j |d <