403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.6/site-packages/setuptools/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.6/site-packages/setuptools/__pycache__/dist.cpython-36.opt-2.pyc
3

��an��@s�dgZddlZddlZddlZddlZddlZddlZddlZddl	Zddl
ZddlZddlZddl
mZddlmZddlmZddlmZddlZddlZddlmZmZmZddlmZdd	lmZdd
lm Z m!Z!ddl
m"Z"ddl#m$Z$dd
l%m&Z&ddl%m'Z'ddl(m)Z)ddl*m+Z+ddl,Z,ddl-Z,ddl,m.Z.ddl/m0Z0ddl1m2Z2ddl3Z3e�rpddl4m5Z5e6d�e6d�dd�Z7dd�Z8e9e9d�dd�Z:de9ee9d �d!d"�Z;de9ee9d �d#d$�Z<de9eee9d �d%d&�Z=dee9d'�d(d)�Z>d*d+�Z?d,d-�Z@d.d/�ZAeBeCfZDd0d1�ZEd2d3�ZFd4d5�ZGd6d7�ZHd8d9�ZId:d;�ZJd<d=�ZKd>d?�ZLd@dA�ZMdBdC�ZNdDdE�ZOdFdG�ZPdHdI�ZQe0ejRjS�ZTGdJd�deT�ZSGdKdL�dLe+�ZUdS)M�Distribution�N)�	strtobool)�DEBUG)�translate_longopt)�iglob)�List�Optional�
TYPE_CHECKING)�defaultdict)�message_from_file)�DistutilsOptionError�DistutilsSetupError)�
rfc822_escape)�
StrictVersion)�	packaging)�ordered_set)�unique_everseen�)�SetuptoolsDeprecationWarning)�windows_support)�
get_unpatched)�parse_configuration)�Messagez&setuptools.extern.packaging.specifiersz#setuptools.extern.packaging.versioncCstjdt�t|�S)NzDo not call this function)�warnings�warn�DistDeprecationWarningr)�cls�r�/usr/lib/python3.6/dist.py�_get_unpatched2srcCs&t|dd�}|dkr"td�}||_|S)N�metadata_versionz2.1)�getattrrr )�selfZmvrrr�get_metadata_version7s
r#)�content�returncCsJ|j�}t|�dkr |dj�Sdj|dj�tjdj|dd���f�S)Nrr�
)�
splitlines�len�lstrip�join�textwrap�dedent)r$�linesrrr�rfc822_unescape?sr.r)�msg�fieldr%cCs||}|dkrdS|S)N�UNKNOWNr)r/r0�valuerrr�_read_field_from_msgGsr3cCst||�}|dkr|St|�S)N)r3r.)r/r0r2rrr�_read_field_unescaped_from_msgOs
r4cCs|j|d�}|gkrdS|S)N)Zget_all)r/r0�valuesrrr�_read_list_from_msgWsr6)r/r%cCs|j�j�}|dkrdS|S)Nr1)Zget_payload�strip)r/r2rrr�_read_payload_from_msg_sr8cCsVt|�}t|d�|_t|d�|_t|d�|_t|d�|_t|d�|_d|_t|d�|_	d|_
t|d�|_t|d�|_
d	|kr�t|d	�|_nd|_t|d
�|_|jdkr�|jtd�kr�t|�|_t|d�|_d|kr�t|d�jd
�|_t|d�|_t|d�|_|jtd�k�r4t|d�|_t|d�|_t|d�|_nd|_d|_d|_t|d�|_dS)Nzmetadata-version�name�versionZsummary�authorzauthor-emailz	home-page�licensezdownload-url�descriptionz2.1�keywords�,�platformZ
classifierz1.1�requires�provides�	obsoleteszlicense-file)rrr r3r9r:r=r;�
maintainer�author_email�maintainer_emailZurlr4r<�download_urlZlong_descriptionr8�splitr>r6Z	platformsZclassifiersrArBrC�
license_files)r"�filer/rrr�
read_pkg_filefs<
rKcCs(d|kr$tjd�|j�jd�d}|S)Nr&z1newlines not allowed and will break in the futurer)rrr7rH)�valrrr�single_line�s
rMc
s�|j�}�fdd�}|dt|��|d|j��|d|j��|dt|j���|d|j��d%}x.|D]&\}}t||d�}|dk	rh|||�qhWt|j	��}|d|�|j
r�|d|j
�x |jj�D]}	|dd|	�q�Wdj
|j��}
|
�r�|d|
�x|j�D]}|d|��qW|j�d|j��|j�d|j��|j�d|j��|j�d|j��t|d��rx|d|j�|j�r�|d|j�|j�r�x|jD]}|d|��q�W|j�d|j�p�g��jd |j��dS)&Ncs�jd||f�dS)Nz%s: %s
)�write)�keyr2)rJrr�write_field�sz#write_pkg_file.<locals>.write_fieldzMetadata-Version�Name�VersionZSummaryz	Home-page�Authorr;�Author-emailrE�
MaintainerrD�Maintainer-emailrFZLicensezDownload-URLzProject-URLz%s, %sr?ZKeywordsZPlatformZ
ClassifierZRequiresZProvidesZ	Obsoletes�python_requireszRequires-PythonzDescription-Content-TypezProvides-ExtrazLicense-Filez
%s

�rSr;�rTrE�rUrD�rVrF)rXrYrZr[)r#�strZget_nameZget_versionrMZget_descriptionZget_urlr!rZget_licenserG�project_urls�itemsr*Zget_keywordsZ
get_platformsZ_write_listZget_classifiersZget_requiresZget_providesZ
get_obsoletes�hasattrrW�long_description_content_type�provides_extrasrIrNZget_long_description)
r"rJr:rPZoptional_fieldsr0�attrZattr_valr<Zproject_urlr>r@�extrar)rJr�write_pkg_file�sN

rdcCsVytjjd|�}Wn<ttttfk
rP}ztd||f�|�WYdd}~XnXdS)Nzx=z4%r must be importable 'module:attrs' string (got %r))�
pkg_resources�
EntryPoint�parse�	TypeError�
ValueError�AttributeError�AssertionErrorr
)�distrbr2�ep�errr�check_importable�srocCsFyWn<ttttfk
r@}ztd||f�|�WYdd}~XnXdS)Nz%%r must be a list of strings (got %r))rhrirjrkr
)rlrbr2rnrrr�assert_string_list�srpcCsh|}t|||�xR|D]J}|j|�s4tdd|��|jd�\}}}|r||krtjjd||�qWdS)Nz1Distribution contains no modules or packages for znamespace package %r�.z^WARNING: %r is declared as a package namespace, but %r is not: please correct this in setup.py)rp�has_contents_forr
�
rpartition�	distutils�logr)rlrbr2Zns_packagesZnsp�parent�sepZchildrrr�	check_nsp�s

rxcCsPyttjt|j���Wn2tttfk
rJ}ztd�|�WYdd}~XnXdS)Nz�'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.)	�list�	itertools�starmap�_check_extrar^rhrirjr
)rlrbr2rnrrr�check_extras
sr}cCs<|jd�\}}}|r*tj|�r*td|��ttj|��dS)N�:zInvalid environment marker: )�	partitionreZinvalid_markerr
ry�parse_requirements)rcZreqsr9rw�markerrrrr|sr|cCs&t|�|kr"d}t|j||d���dS)Nz0{attr!r} must be a boolean value (got {value!r}))rbr2)�boolr
�format)rlrbr2�tmplrrr�assert_bool sr�cCs,|stj|�d�t�dSt|�d���dS)Nz is ignored.z is invalid.)rrrr
)rlrbr2rrr�invalid_unless_false'sr�cCsly(ttj|��t|ttf�r&td��Wn>ttfk
rf}zd}t|j	||d��|�WYdd}~XnXdS)NzUnordered types are not allowedzm{attr!r} must be a string or list of strings containing valid project/version requirement specifiers; {error})rb�error)
ryrer��
isinstance�dict�setrhrir
r�)rlrbr2r�r�rrr�check_requirements.sr�cCsXytjj|�WnBtjjtfk
rR}zd}t|j||d��|�WYdd}~XnXdS)NzF{attr!r} must be a string containing valid version specifiers; {error})rbr�)rZ
specifiersZSpecifierSetZInvalidSpecifierrjr
r�)rlrbr2r�r�rrr�check_specifier<s
r�cCsBytjj|�Wn,tk
r<}zt|�|�WYdd}~XnXdS)N)rerfZ	parse_maprir
)rlrbr2rnrrr�check_entry_pointsGsr�cCst|t�std��dS)Nztest_suite must be a string)r�r\r
)rlrbr2rrr�check_test_suiteOs
r�cCs^t|t�stdj|���x@|j�D]4\}}t|t�sDtdj||���t|dj|�|�q"WdS)NzT{!r} must be a dictionary mapping package names to lists of string wildcard patternsz,keys of {!r} dict must be strings (got {!r})zvalues of {!r} dict)r�r�r
r�r^r\rp)rlrbr2�k�vrrr�check_package_dataTs

r�cCs,x&|D]}tjd|�stjjd|�qWdS)Nz\w+(\.\w+)*z[WARNING: %r not a valid package name; please use only .-separated package names in setup.py)�re�matchrtrur)rlrbr2Zpkgnamerrr�check_packagescs

r�c@szeZdZdd�eejdd�dd�d�ZdZdd�ZdTd	d
�Z	dd�Z
ed
d��Zedd��Z
dd�Zdd�Zedd��Zdd�Zdd�Zdd�Zedd��ZdUdd �Zd!d"�Zd#d$�Zd%d&�ZdVd'd(�ZdWd*d+�Zd,d-�Zd.d/�Zed0d1��Zd2d3�Zd4d5�Zd6d7�Z d8d9�Z!d:d;�Z"d<d=�Z#d>d?�Z$d@dA�Z%dBdC�Z&dDdE�Z'dFdG�Z(dHdI�Z)dJdK�Z*dLdM�Z+dNdO�Z,dPdQ�Z-dRdS�Z.dS)XrcCsdS)Nrrrrr�<lambda>�szDistribution.<lambda>cCsdS)Nrrrrrr��scCsdS)Nrrrrrr��s)r`r]ra�license_filerINcCsp|sd|ksd|krdStjt|d��j�}tjjj|�}|dk	rl|jd�rltjt|d��|_	||_
dS)Nr9r:zPKG-INFO)reZ	safe_namer\�lower�working_setZby_key�getZhas_metadataZsafe_versionZ_version�
_patched_dist)r"�attrsrOrlrrr�patch_missing_pkg_info�sz#Distribution.patch_missing_pkg_infocs�t�d�}|si�_|pi}g�_|jdd��_�j|�|jdg��_|jdg��_x$tj	d�D]}t
��j|jd�qbWt
j��fdd�|j�D���j|��j�j�jj���j_�j�dS)N�package_data�src_root�dependency_links�setup_requireszdistutils.setup_keywordscs i|]\}}|�jkr||�qSr)�_DISTUTILS_UNSUPPORTED_METADATA)�.0r�r�)r"rr�
<dictcomp>�sz)Distribution.__init__.<locals>.<dictcomp>)r_r�Z
dist_files�popr�r�r�r�re�iter_entry_points�vars�
setdefaultr9�
_Distribution�__init__r^�_set_metadata_defaults�_normalize_version�_validate_version�metadatar:�_finalize_requires)r"r�Zhave_package_datarmr)r"rr��s&



zDistribution.__init__cCs8x2|jj�D]$\}}t|j�j||j||���qWdS)N)r�r^r�r�r�r�)r"r��option�defaultrrrr��sz#Distribution._set_metadata_defaultscCsPt|tj�s|dkr|Sttjj|��}||krLd}tj|j	ft
���|S|S)Nz)Normalizing '{version}' to '{normalized}')r��
setuptools�sicr\rr:rRrrr��locals)r:Z
normalizedr�rrrr��szDistribution._normalize_versioncCsbt|tj�rt|�}|dk	r^ytjj|�Wn0tjjtfk
r\t	j
d|�tj|�SX|S)Nz�The version specified (%r) is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.)
r��numbers�Numberr\rr:rRZInvalidVersionrhrrr�r�)r:rrrr��szDistribution._validate_versioncCsjt|dd�r|j|j_t|dd�rVx2|jj�D]$}|jd�d}|r.|jjj|�q.W|j�|j	�dS)NrW�extras_requirer~r)
r!rWr�r��keysrHra�add�_convert_extras_requirements�"_move_install_requirements_markers)r"rcrrrr�s
zDistribution._finalize_requirescCspt|dd�pi}tt�|_xP|j�D]D\}}|j|x0tj|�D]"}|j|�}|j||j|�qBWq$WdS)Nr�)	r!r
ry�_tmp_extras_requirer^rer��_suffix_for�append)r"Z
spec_ext_reqs�sectionr��r�suffixrrrr�s


z)Distribution._convert_extras_requirementscCs|jrdt|j�SdS)Nr~�)r�r\)�reqrrrr�$szDistribution._suffix_forcs�dd�}t�dd�pf}ttj|��}t||�}tj||�}ttt|���_	x&|D]}�j
dt|j�j|�qRWt
�fdd��j
j�D���_dS)NcSs|jS)N)r�)r�rrr�
is_simple_req6szFDistribution._move_install_requirements_markers.<locals>.is_simple_req�install_requiresr~c3s,|]$\}}|dd�t�j|�D�fVqdS)cSsg|]}t|��qSr)r\)r�r�rrr�
<listcomp>BszMDistribution._move_install_requirements_markers.<locals>.<genexpr>.<listcomp>N)�map�
_clean_req)r�r�r�)r"rr�	<genexpr>BszBDistribution._move_install_requirements_markers.<locals>.<genexpr>)r!ryrer��filterrz�filterfalser�r\r�r�r�r�r�r^r�)r"r�Zspec_inst_reqsZ	inst_reqsZsimple_reqsZcomplex_reqsr�r)r"rr�,s



z/Distribution._move_install_requirements_markerscCs
d|_|S)N)r�)r"r�rrrr�FszDistribution._clean_reqcCs`|jj}|r|ng}|jj}|r2||kr2|j|�|dkrF|dkrFd}tt|j|���|j_dS)N�LICEN[CS]E*�COPYING*�NOTICE*�AUTHORS*)r�r�r�r�)r�rIr�r�ryr�_expand_patterns)r"rI�patternsr�rrr�_finalize_license_filesMs
z$Distribution._finalize_license_filescCsdd�|D�S)Ncss<|]4}tt|��D]"}|jd�rtjj|�r|VqqdS)�~N)�sortedr�endswith�os�path�isfile)r��patternr�rrrr�isz0Distribution._expand_patterns.<locals>.<genexpr>r)r�rrrr�`s	zDistribution._expand_patternscCs�ddlm}tjtjkrgnddddddd	d
ddd
ddg
}t|�}|dkrR|j�}tr`|jd�|�}t	|_
x�|D]�}tj|dd��(}tr�|jdj
ft���|j|�WdQRXxt|j�D]h}|j|�}|j|�}	xN|D]F}
|
dks�|
|kr�q�|j||
�}|j|
|�}
|j|
|�}
||f|	|
<q�Wq�W|j�qrWd|jk�rDdSx�|jdj�D]�\}
\}}|jj|
�}
|
�r~t|�}n|
dk�r�t|�}yt||
�p�|
|�Wn.tk
�r�}zt|�|�WYdd}~XnX�qTWdS)Nr)�ConfigParserzinstall-basezinstall-platbasezinstall-libzinstall-platlibzinstall-purelibzinstall-headerszinstall-scriptszinstall-data�prefixzexec-prefix�home�user�rootz"Distribution.parse_config_files():zutf-8)�encodingz  reading {filename}�__name__�global�verbose�dry_run)r�r�)Zconfigparserr��sysr��base_prefix�	frozensetZfind_config_filesr�announcer\Zoptionxform�io�openr�r�Z	read_fileZsections�options�get_option_dictr��warn_dash_deprecation�make_option_lowercaser��command_optionsr^�negative_optr�setattrrir)r"�	filenamesr�Zignore_options�parser�filename�readerr�r�Zopt_dict�optrL�src�aliasrnrrr�_parse_config_filespsd





z Distribution._parse_config_filescCsf|dkr|S|jdd�}tjj|j�}|jd�rH|dkrH||krH|Sd|krbtjd||f�|S)	N�options.extras_require�options.data_files�-�_r�r�zrUsage of dash-separated '%s' will not be supported in future versions. Please use the underscore name '%s' instead)r�r�)�replacert�command�__all__�_setuptools_commands�
startswithrr)r"r�r�Zunderscore_optZcommandsrrrr��sz"Distribution.warn_dash_deprecationcCs4ytjd�}t|jd��Stjk
r.gSXdS)Nr�zdistutils.commands)reZget_distributionryZ
get_entry_mapZDistributionNotFound)r"rlrrrr��s

z!Distribution._setuptools_commandscCs4|dks|j�r|S|j�}tjd|||f�|S)Nr�zlUsage of uppercase key '%s' in '%s' will be deprecated in future versions. Please use lowercase '%s' instead)�islowerr�rr)r"r�r�Z
lowercase_optrrrr��sz"Distribution.make_option_lowercasec!Csd|j�}|dkr|j|�}tr,|jd|��x0|j�D�]"\}\}}tr^|jd|||f�ydd�|jD�}Wntk
r�g}YnXy
|j}Wntk
r�i}YnXy|t|t	�}	||kr�|	r�t
|||t|��nJ||kr�|	r�t
||t|��n,t||��rt
|||�nt
d|||f��Wq8tk
�rZ}
zt
|
�|
�WYdd}
~
Xq8Xq8WdS)Nz#  setting options for '%s' command:z    %s = %s (from %s)cSsg|]}t|��qSr)r)r��orrrr�sz5Distribution._set_command_options.<locals>.<listcomp>z1error in %s: command '%s' has no such option '%s')Zget_command_namer�rr�r^Zboolean_optionsrjr�r�r\r�rr_rri)r"Zcommand_objZoption_dictZcommand_namer��sourcer2Z	bool_opts�neg_optZ	is_stringrnrrr�_set_command_options�s:




z!Distribution._set_command_optionsFcCs0|j|d�t||j|d�|j�|j�dS)N)r�)�ignore_option_errors)r�rr�r�r�)r"r�rrrr�parse_config_filess
zDistribution.parse_config_filescCs<tjjtj|�|jdd�}x|D]}tjj|dd�q W|S)NT)�	installerZreplace_conflicting)r�)rer��resolver��fetch_build_eggr�)r"rAZresolved_distsrlrrr�fetch_build_eggs's
zDistribution.fetch_build_eggscCsTd}dd�}tj|�}tj|j|�}tdd�|�}xt||d�D]}||�q@WdS)Nz(setuptools.finalize_distribution_optionscSst|dd�S)N�orderr)r!)�hookrrr�by_order;sz/Distribution.finalize_options.<locals>.by_ordercSs|j�S)N)�load)rnrrrr�@sz/Distribution.finalize_options.<locals>.<lambda>)rO)rer�rzr��_removedr�r�)r"�grouprZdefinedZfilteredZloadedrmrrr�finalize_options2s
zDistribution.finalize_optionscCsdh}|j|kS)NZ
2to3_doctests)r9)rmZremovedrrrrDs
zDistribution._removedcCsNxHtjd�D]:}t||jd�}|dk	r|j|jd�|j�||j|�qWdS)Nzdistutils.setup_keywords)r)rer�r!r9�requirer
r)r"rmr2rrr�_finalize_setup_keywordsRs
z%Distribution._finalize_setup_keywordsc	Csvtjjtjd�}tjj|�srtj|�tj|�tjj|d�}t|d��$}|j	d�|j	d�|j	d�WdQRX|S)Nz.eggsz
README.txt�wzcThis directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins.

zAThis directory caches those eggs to prevent repeated downloads.

z/However, it is safe to delete this directory.

)
r�r�r*�curdir�exists�mkdirrZ	hide_filer�rN)r"Z
egg_cache_dirZreadme_txt_filename�frrr�get_egg_cache_dirYs

zDistribution.get_egg_cache_dircCsddlm}|||�S)Nr)r
)Zsetuptools.installerr
)r"r�r
rrrr
lszDistribution.fetch_build_eggcCs`||jkr|j|Stjd|�}x:|D]&}|j|jd�|j�|j|<}|SWtj||�SdS)Nzdistutils.commands)r)�cmdclassrer�rr
rr��get_command_class)r"r�Zepsrmrrrrrrs


zDistribution.get_command_classcCs>x2tjd�D]$}|j|jkr|j�}||j|j<qWtj|�S)Nzdistutils.commands)rer�r9rr	r��print_commands)r"rmrrrrrs
zDistribution.print_commandscCs>x2tjd�D]$}|j|jkr|j�}||j|j<qWtj|�S)Nzdistutils.commands)rer�r9rr	r��get_command_list)r"rmrrrrr�s
zDistribution.get_command_listcKsDx>|j�D]2\}}t|d|d�}|r0||�q
|j||�q
WdS)NZ	_include_)r^r!�
_include_misc)r"r�r�r��includerrrr �s

zDistribution.includecsf�d�|jr&��fdd�|jD�|_|jrD��fdd�|jD�|_|jrb��fdd�|jD�|_dS)Nrqcs$g|]}|�kr|j��r|�qSr)r)r��p)�package�pfxrrr��sz0Distribution.exclude_package.<locals>.<listcomp>cs$g|]}|�kr|j��r|�qSr)r)r�r!)r"r#rrr��scs(g|] }|j�kr|jj��r|�qSr)r9r)r�r!)r"r#rrr��s)�packages�
py_modules�ext_modules)r"r"r)r"r#r�exclude_package�szDistribution.exclude_packagecCs4|d}x&|j�D]}||ks(|j|�rdSqWdS)NrqT)�iter_distribution_namesr)r"r"r#r!rrrrr�szDistribution.has_contents_forcs�t�t�std|�f��yt||�}Wn0tk
rX}ztd|�|�WYdd}~XnX|dk	r|t|t�r|t|d��n|r�t||�fdd�|D��dS)Nz(%s: setting must be a list or tuple (%r)z %s: No such distribution settingz4: this setting cannot be changed via include/excludecsg|]}|�kr|�qSrr)r��item)r2rrr��sz.Distribution._exclude_misc.<locals>.<listcomp>)r��sequencer
r!rjr�)r"r9r2�oldrnr)r2r�
_exclude_misc�s
 zDistribution._exclude_misccs�t|t�std||f��yt||��Wn0tk
rX}ztd|�|�WYdd}~XnX�dkrpt|||�n:t�t�s�t|d��n"�fdd�|D�}t||�|�dS)Nz%s: setting must be a list (%r)z %s: No such distribution settingz4: this setting cannot be changed via include/excludecsg|]}|�kr|�qSrr)r�r))r+rrr��sz.Distribution._include_misc.<locals>.<listcomp>)r�r*r
r!rjr�)r"r9r2rn�newr)r+rr�s
 
zDistribution._include_misccKsDx>|j�D]2\}}t|d|d�}|r0||�q
|j||�q
WdS)NZ	_exclude_)r^r!r,)r"r�r�r��excluderrrr.�s

zDistribution.excludecCs,t|t�std|f��tt|j|��dS)Nz.packages: setting must be a list or tuple (%r))r�r*r
ryr�r')r"r$rrr�_exclude_packages�s
zDistribution._exclude_packagesc
Cs�|jj|_|jj|_|d}|jd�}xB||krh||\}}||=ddl}|j|d�|dd�<|d}q(Wtj|||�}|j|�}	t	|	dd�r�d|f|j|�d<|dk	r�gS|S)Nr�aliasesTrZcommand_consumes_argumentszcommand line�args)
�	__class__Zglobal_optionsr�r��shlexrHr��_parse_command_optsrr!)
r"r�r1r�r0r�r�r3�nargsZ	cmd_classrrrr4s"




z Distribution._parse_command_optscCs�i}x�|jj�D]�\}}x�|j�D]�\}\}}|dkr8q"|jdd�}|dkr�|j|�}|jj�}|jt|di��x<|j�D]\}	}
|
|kr||	}d}Pq|Wtd��n|dkr�d}||j	|i�|<q"WqW|S)Nzcommand liner�r�rr�zShouldn't be able to get herer)
r�r^r�Zget_command_objr��copy�updater!rkr�)r"�d�cmdZoptsr�r�rLZcmdobjr�neg�posrrr�get_cmdline_options s(



z Distribution.get_cmdline_optionsccs�x|jp
fD]
}|VqWx|jp$fD]
}|Vq&WxH|jp>fD]:}t|t�rX|\}}n|j}|jd�rt|dd�}|Vq@WdS)N�module�i����)r$r%r&r��tupler9r�)r"Zpkgr=Zextr9Z	buildinforrrr(Hs




z$Distribution.iter_distribution_namescCs�ddl}|jrtj||�St|jtj�s4tj||�S|jjj	�dkrPtj||�S|jj}|jj
}|jdkrndppd}|jj}tj|jj
�d|||�|_ztj||�Stj|jj
�||||�|_XdS)Nr�utf-8�utf8�win32r&)r@rA)r�Z
help_commandsr��handle_display_optionsr��stdoutr��
TextIOWrapperr�r��errorsr@�line_buffering�detach)r"Zoption_orderr�r�rF�newlinerGrrrrCZs"z#Distribution.handle_display_options)N)N)N)NF)/r��
__module__�__qualname__r�rZ
OrderedSetr�r�r�r�r��staticmethodr�r�r�r�r�r�r�r�r�r�r�r�r�rrrrrrrr
rrrr r'rrr,rr.r/r4r<r(rCrrrrrpsX5


O
.


	(c@seZdZdS)rN)r�rJrKrrrrrsr)Vr�r�r�r�r�rr�Z
distutils.logrtZdistutils.coreZ
distutils.cmdZdistutils.distZdistutils.commandZdistutils.utilrZdistutils.debugrZdistutils.fancy_getoptrZglobrrzr+Ztypingrrr	�collectionsr
ZemailrZdistutils.errorsrr
rZdistutils.versionrZsetuptools.externrrZ setuptools.extern.more_itertoolsrr�rr�Zsetuptools.commandrZsetuptools.monkeyrZsetuptools.configrreZ
email.messager�
__import__rr#r\r.r3r4r6r8rKrMrdr?ryr*rorprxr}r|r�r�r�r�r�r�r�r�Zcorerr�rrrrr�<module>s�-
>



Youez - 2016 - github.com/yon3zu
LinuXploit