관리-도구
편집 파일: fancy_getopt.cpython-311.pyc
� ,�Re�E � �� � d Z ddlZddlZddlZddlZddlmZmZ dZ ej dez � � Z ej d� ee� � � � Ze � dd � � Z G d � d� � Zd� Zd � ej D � � Zd� Zd� Z G d� d� � Zedk rGdZdD ]DZ edez � � ed� eee� � � � � � e� � �CdS 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� )�DistutilsGetoptError�DistutilsArgErrorz[a-zA-Z](?:[a-zA-Z0-9-]*)z^%s$z^({})=!({})$�-�_c �p � e Zd ZdZdd�Zd� Zd� Zdd�Zd� Zd� Z d � Z d � Zd� Zd� Z dd �Zd� Zdd�Zdd�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 �� � || _ 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 s ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/_distutils/fancy_getopt.py�__init__zFancyGetopt.__init__, s{ � � )��� ����� ������� �� � !��� ��������������� ����� c �l � | j � � � | j D ]}|| j |d <