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.9/site-packages/setuptools/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/setuptools/__pycache__/dist.cpython-39.opt-2.pyc
a

��e���@sNdgZddlZddlZddlZddlZddlZddlZddlmZddl	m
Z
ddlmZddl
mZmZmZmZmZmZmZddlZddlZddlZddlZddlZddlmZddlmZmZdd	l m!Z!dd
l"m#Z#ddl$m%Z%m&Z&dd
l'm(Z(ddl)m*Z*m+Z+ddl,m-Z-m.Z.ddl/m0Z0ddl1m2Z2ddl1m3Z3ddl1m4Z4ddl1m5Z6ddl7m8Z8ddl9m:Z:m;Z;ddl<m=Z=ddl>m?Z?ddl@mAZAmBZBeCeDfZEdd�ZFdd�ZGdd�ZHd d!�ZId"d#�ZJd$d%�ZKd&d'�ZLd(d)�ZMd*d+�ZNd,d-�ZOd.d/�ZPd0d1�ZQd2d3�ZRd4d5�ZSe�rejTjUZVne?ejTjU�ZVGd6d�deV�ZUGd7d8�d8eB�ZWdS)9�Distribution�N)�suppress)�iglob)�Path)�
TYPE_CHECKING�Dict�List�MutableMapping�Optional�Set�Tuple)�DEBUG)�DistutilsOptionError�DistutilsSetupError��translate_longopt)�	strtobool�)�	partition�unique_everseen)�
OrderedSet)�
InvalidMarker�Marker)�InvalidSpecifier�SpecifierSet)�Version)�
_entry_points)�_normalization)�_reqs)�command)�metadata)�setupcfg�
pyprojecttoml)�ConfigDiscovery)�
get_unpatched)�InformationOnly�SetuptoolsDeprecationWarningcCsXztj|ddd�}Wn>ttttfyR}ztd||f�|�WYd}~n
d}~00dS)N)�value�name�groupz4%r must be importable 'module:attrs' string (got %r))r Z
EntryPoint�	TypeError�
ValueError�AttributeError�AssertionErrorr)�dist�attrr'�ep�e�r2�3/usr/lib/python3.9/site-packages/setuptools/dist.py�check_importable-s
��r4cCsHzWn>ttttfyB}ztd||f�|�WYd}~n
d}~00dS)Nz%%r must be a list of strings (got %r))r*r+r,r-r�r.r/r'r1r2r2r3�assert_string_list7s
��r6cCst|}t|||�|D]Z}|�|�s2tdd|��|�d�\}}}|r^||vr^tj�d||�tjdddd�qdS)	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.pyz/The namespace_packages parameter is deprecated.z<Please replace its usage with implicit namespaces (PEP 420).z3references/keywords.html#keyword-namespace-packages)�see_docs)	r6�has_contents_forr�
rpartition�	distutils�log�warnr&�emit)r.r/r'Zns_packagesZnsp�parent�sep�childr2r2r3�	check_nspEs*
����rBc
CsRztt�t|����Wn4tttfyL}ztd�|�WYd}~n
d}~00dS)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_extra�itemsr*r+r,rr5r2r2r3�check_extrasbs��rHcCs^|�d�\}}}zt|�Wn.tyJd|�d|�d�}t|�d�Yn0tt�|��dS)N�:zInvalid environment marker: z (�))r�
_check_markerrrrCr�parse)�extraZreqsr(r@�marker�msgr2r2r3rFnsrFcCs|sdSt|�}|��dS�N)rZevaluate)rN�mr2r2r3rKxsrKcCs&t|�|kr"d}t|j||d���dS)Nz0{attr!r} must be a boolean value (got {value!r}))r/r')�boolr�format)r.r/r'�tmplr2r2r3�assert_boolsrUcCs*|st�|�d��dSt|�d���dS)Nz is ignored.z is invalid.)�DistDeprecationWarningr>r�r.r/r'r2r2r3�invalid_unless_false�srXc
Csnz(tt�|��t|ttf�r&td��Wn@ttfyh}z$d}t|j	||d��|�WYd}~n
d}~00dS)NzUnordered types are not allowedzm{attr!r} must be a string or list of strings containing valid project/version requirement specifiers; {error}�r/�error)
rCrrL�
isinstance�dict�setr*r+rrS�r.r/r'rZrTr2r2r3�check_requirements�s�r_c
CsRzt|�Wn@ttfyL}z$d}t|j||d��|�WYd}~n
d}~00dS)NzF{attr!r} must be a string containing valid version specifiers; {error}rY)rrr,rrSr^r2r2r3�check_specifier�s�r`c
CsBzt�|�Wn.ty<}zt|�|�WYd}~n
d}~00dSrP)r�load�	Exceptionrr5r2r2r3�check_entry_points�srccCst|t�std��dS)Nztest_suite must be a string)r[�strrrWr2r2r3�check_test_suite�s
recCsZt|t�std�|���|��D]4\}}t|t�sBtd�||���t|d�|�|�q dS)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\rrSrGrdr6)r.r/r'�k�vr2r2r3�check_package_data�s
��

�rhcCs(|D]}t�d|�stj�d|�qdS)Nz\w+(\.\w+)*z[WARNING: %r not a valid package name; please use only .-separated package names in setup.py)�re�matchr;r<r=)r.r/r'Zpkgnamer2r2r3�check_packages�s�rkcs�eZdZdd�eedd�dd�eed�ZdZdd�ZdTe	e
dd	�d
d�Zdd
�Zdd�Z
edd��Zdd�Zdd�Zdd�dd�Zedd��ZdUdd�Zdd�Zdd �Zd!d"�ZdVd#d$�Zd%d&�ZdWd(d)�Zd*d+�Zd,d-�Zed.d/��Zd0d1�Zd2d3�Zd4d5�Z d6d7�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.�fdRdS�Z/�Z0S)XrcCsdSrPr2r2r2r2r3�<lambda>	�zDistribution.<lambda>cCsdSrPr2r2r2r2r3rlrmcCsdSrPr2r2r2r2r3rl
rm)Zlong_description_content_typeZproject_urls�provides_extras�license_file�
license_files�install_requires�extras_requireNcCs�|rd|vsd|vrdSt�t|d����}ttj��Ft�|�}|durp|�d�spt�	t|d��|_
||_Wd�n1s�0YdS)Nr(�versionzPKG-INFO)rZ	safe_namerd�lowerrr �PackageNotFoundError�distribution�	read_textZsafe_versionZ_version�
_patched_dist)�self�attrsr(r.r2r2r3�patch_missing_pkg_infos
z#Distribution.patch_missing_pkg_info)rz�returncs�t|d�}|si|_|pi}g|_|�dd�|_|�|�|�dg�|_|�dg�|_tj	dd�D]}t
|��|jd�qbt
|j���ddh8��fd	d
�|��D�}t�||�t
�|_t|�|_|�|�|�|jj�|j_|��dS)N�package_data�src_root�dependency_links�setup_requires�distutils.setup_keywords�r)rqrrcsi|]\}}|�vr||�qSr2r2��.0rfrg�Z
metadata_onlyr2r3�
<dictcomp>2rmz)Distribution.__init__.<locals>.<dictcomp>)�hasattrr}Z
dist_files�popr~r{rr�r �entry_points�vars�
setdefaultr(r]�_DISTUTILS_UNSUPPORTED_METADATArG�
_Distribution�__init__Z_referenced_filesr#�set_defaults�_set_metadata_defaults�_normalize_versionrs�_finalize_requires)ryrzZhave_package_datar0Z
dist_attrsr2r�r3r�"s(




zDistribution.__init__cs@dh}�fdd�t�j�D�}||}|r<d|��}t|��dS)Nr(cs"h|]}t�j|d�dur|�qSrP)�getattrr )r��key�ryr2r3�	<setcomp>Cs�z2Distribution._validate_metadata.<locals>.<setcomp>z&Required package metadata is missing: )r�r r)ry�requiredZprovided�missingrOr2r�r3�_validate_metadataAs
�
zDistribution._validate_metadatacCs4|j��D]$\}}t|j��||�||���q
dSrP)r�rGr�r r��get)ryrz�option�defaultr2r2r3r�Nsz#Distribution._set_metadata_defaultscCslddlm}t|tj�r"t|�}nt||�s4|dur8|Stt|��}||krht�d|�d|�d��|S|S)Nr)�sicz
Normalizing 'z' to '�')	�r�r[�numbers�Numberrdrr%r>)rsr�Z
normalizedr2r2r3r�Xs
zDistribution._normalize_versioncCslt|dd�r|j|j_|��|j|j_|j|j_|jrh|j��D]$}|�d�d}|rB|jj�	|�qBdS)N�python_requiresrIr)
r�r�r �_normalize_requiresrqrr�keys�splitrn�add)ryrMr2r2r3r�hs


zDistribution._finalize_requirescCsNt|dd�pg}t|dd�pi}tttt�|���|_dd�|��D�|_dS)Nrqrrc	Ss*i|]"\}}|tttt�|pg����qSr2)rC�maprdrrLr�r2r2r3r��sz4Distribution._normalize_requires.<locals>.<dictcomp>)	r�rCr�rdrrLrqrGrr)ryrqrrr2r2r3r�{s�z Distribution._normalize_requires)r|cCsd|jj}|r|ng}|jj}|r2||vr2|�|�|durJ|durJgd�}tt|�|���|j_dS)N)zLICEN[CS]E*zCOPYING*zNOTICE*zAUTHORS*)r rpro�appendrCr�_expand_patterns)ryrp�patternsror2r2r3�_finalize_license_files�s
�z$Distribution._finalize_license_filescCsdd�|D�S)Ncss:|]2}tt|��D] }|�d�stj�|�r|VqqdS)�~N)�sortedr�endswith�os�path�isfile)r��patternr�r2r2r3�	<genexpr>�s�z0Distribution._expand_patterns.<locals>.<genexpr>r2)r�r2r2r3r��s�zDistribution._expand_patternscCs�ddlm}tjtjkrgngd�}t|�}|dur<|��}trJ|�d�|�}t	|_
|D]�}t|dd��6}tr�|�djfit
����|�|�Wd�n1s�0Y|��D]d}|�|�}|�|�}	|D]F}
|
dks�|
|vr�q�|�||
�}|�|
|�}
|�|
|�}
||f|	|
<q�q�|��qZd	|jv�r8dS|jd	��D]�\}
\}}|j�|
�}
|
�rpt|�}n|
d
v�r�t|�}zt||
�p�|
|�Wn0t�y�}zt|�|�WYd}~n
d}~00�qFdS)Nr)�ConfigParser)
zinstall-basezinstall-platbasezinstall-libzinstall-platlibzinstall-purelibzinstall-headerszinstall-scriptszinstall-data�prefixzexec-prefix�home�user�rootz"Distribution.parse_config_files():�utf-8��encodingz  reading {filename}�__name__�global)�verbose�dry_run)Zconfigparserr��sysr��base_prefix�	frozensetZfind_config_filesr
�announcerdZoptionxform�openrS�localsZ	read_fileZsections�options�get_option_dictr��warn_dash_deprecation�make_option_lowercaser��command_optionsrG�negative_optr�setattrr+r)ry�	filenamesr�Zignore_options�parser�filename�reader�sectionr�Zopt_dict�opt�val�src�aliasr1r2r2r3�_parse_config_files�sP
��
(



z Distribution._parse_config_filescCsz|dvr|S|�dd�}tt�tjj|����}|�d�sN|dkrN||vrN|Sd|vrvt	j
dd|�d|�d	�d
dd�|S)
N)zoptions.extras_requirezoptions.data_files�-�_r�r zInvalid dash-separated optionsz)
                Usage of dash-separated zZ will not be supported in future
                versions. Please use the underscore name z instead.
                �!userguide/declarative_config.html�i��	��r8Zdue_date)�replacerCrD�chainr;r�__all__�_setuptools_commands�
startswithr&r>)ryr�r�Zunderscore_optZcommandsr2r2r3r��s8��������
z"Distribution.warn_dash_deprecationcCs.zt�d�jjWStjy(gYS0dS)NZ
setuptools)r rvr��namesrur�r2r2r3r�sz!Distribution._setuptools_commandsc	CsF|dks|��r|S|��}tjdd|�d|�d|�d�ddd	�|S)
Nr zInvalid uppercase configurationz$
            Usage of uppercase key z in zL will not be supported in
            future versions. Please use lowercase z instead.
            r�r�r�)�islowerrtr&r>)ryr�r�Z
lowercase_optr2r2r3r�s ����
z"Distribution.make_option_lowercasecCs\|��}|dur|�|�}tr,|�d|�|��D�] \}\}}trZ|�d|||f�zdd�|jD�}Wnty�g}Yn0z
|j}Wnty�i}Yn0z|t|t	�}	||vr�|	r�t
|||t|��nJ||vr�|	r�t
||t|��n,t||��rt
|||�nt
d|||f��Wq4t�yT}
zt
|
�|
�WYd}
~
q4d}
~
00q4dS)Nz#  setting options for '%s' command:z    %s = %s (from %s)cSsg|]}t|��qSr2r)r��or2r2r3�
<listcomp>Grmz5Distribution._set_command_options.<locals>.<listcomp>z1error in %s: command '%s' has no such option '%s')Zget_command_namer�r
r�rGZboolean_optionsr,r�r[rdr�rr�rr+)ryZcommand_objZoption_dictZcommand_namer��sourcer'Z	bool_opts�neg_optZ	is_stringr1r2r2r3�_set_command_options1s>




��z!Distribution._set_command_optionscCs\g}t|jptjd�}|durFtdd�|�}t|d�}t|d�}n|��rT|g}||fS)Nzpyproject.tomlcSst|�jdkS)Nz.toml)r�suffix)�fr2r2r3rldrmz8Distribution._get_project_config_files.<locals>.<lambda>rr)rr~r��curdirrrC�exists)ryr��	tomlfilesZstandard_project_metadata�partsr2r2r3�_get_project_config_files_sz&Distribution._get_project_config_filesFcCsX|�|�\}}|j|d�tj||j|d�|D]}t�|||�q0|��|��dS)N)r�)�ignore_option_errors)	r�r�r!Zparse_configurationr�r"Zapply_configurationr�r�)ryr�r�Zinifilesr�r�r2r2r3�parse_config_filesks�zDistribution.parse_config_filescCsddlm}|||�S)Nr)�_fetch_build_eggs)�	installerr�)ryZrequiresr�r2r2r3�fetch_build_eggs|szDistribution.fetch_build_eggscCsRd}dd�}tj|d�}t�|j|�}tdd�|�}t||d�D]}||�q@dS)Nz(setuptools.finalize_distribution_optionscSst|dd�S)N�orderr)r�)�hookr2r2r3�by_order�sz/Distribution.finalize_options.<locals>.by_orderr�cSs|��SrP)ra)r1r2r2r3rl�rmz/Distribution.finalize_options.<locals>.<lambda>)r�)r r�rD�filterfalse�_removedr�r�)ryr)r�ZdefinedZfilteredZloadedr0r2r2r3�finalize_options�szDistribution.finalize_optionscCsdh}|j|vS)NZ
2to3_doctests)r()r0Zremovedr2r2r3r��s
�zDistribution._removedcCs>tjdd�D],}t||jd�}|dur|��||j|�qdS)Nr�r�)r r�r�r(ra)ryr0r'r2r2r3�_finalize_setup_keywords�sz%Distribution._finalize_setup_keywordscCs�ddlm}tj�tjd�}tj�|�s�t�|�|�|�tj�|d�}t	|d��.}|�
d�|�
d�|�
d�Wd�n1s�0Y|S)	Nr)�windows_supportz.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�r��joinr�r��mkdirZ	hide_filer��write)ryr�Z
egg_cache_dirZreadme_txt_filenamer�r2r2r3�get_egg_cache_dir�s

��(zDistribution.get_egg_cache_dircCsddlm}|||�S)Nr)�fetch_build_egg)r�r)ryZreqrr2r2r3r�szDistribution.fetch_build_eggcCsP||jvr|j|Stjd|d�}|D]}|��|j|<}|St�||�S)N�distutils.commands)r)r()�cmdclassr r�rar��get_command_class)ryrZepsr0rr2r2r3r�s

zDistribution.get_command_classcCs<tjdd�D]$}|j|jvr|��}||j|j<qt�|�S�Nrr�)r r�r(rrar��print_commands�ryr0rr2r2r3r�s
zDistribution.print_commandscCs<tjdd�D]$}|j|jvr|��}||j|j<qt�|�Sr)r r�r(rrar��get_command_listr	r2r2r3r
�s
zDistribution.get_command_listcKs@|��D]2\}}t|d|d�}|r.||�q|�||�qdS)NZ	_include_)rGr��
_include_misc)ryrzrfrg�includer2r2r3r�s

zDistribution.includecsf�d�|jr&��fdd�|jD�|_|jrD��fdd�|jD�|_|jrb��fdd�|jD�|_dS)Nr7cs"g|]}|�kr|���s|�qSr2�r��r��p��package�pfxr2r3r��sz0Distribution.exclude_package.<locals>.<listcomp>cs"g|]}|�kr|���s|�qSr2r
rrr2r3r��scs&g|]}|j�kr|j���s|�qSr2)r(r�rrr2r3r�s�)�packages�
py_modules�ext_modules)ryrr2rr3�exclude_package�s���zDistribution.exclude_packagecCs2|d}|��D]}||ks&|�|�rdSqdS)Nr7TF)�iter_distribution_namesr�)ryrrrr2r2r3r9s
zDistribution.has_contents_forc
s�t�t�std|�f��zt||�}Wn2tyZ}ztd|�|�WYd}~n
d}~00|dur|t|t�s|t|d��n|r�t||�fdd�|D��dS)Nz(%s: setting must be a list or tuple (%r)� %s: No such distribution setting�4: this setting cannot be changed via include/excludecsg|]}|�vr|�qSr2r2�r��item�r'r2r3r�"rmz.Distribution._exclude_misc.<locals>.<listcomp>�r[�sequencerr�r,r�)ryr(r'�oldr1r2rr3�
_exclude_miscs

�$�zDistribution._exclude_miscc
s�t|t�std||f��zt||��Wn2tyZ}ztd|�|�WYd}~n
d}~00�durrt|||�n:t�t�s�t|d��n"�fdd�|D�}t||�|�dS)Nz%s: setting must be a list (%r)rrcsg|]}|�vr|�qSr2r2r�rr2r3r�4rmz.Distribution._include_misc.<locals>.<listcomp>r)ryr(r'r1�newr2r!r3r$s
$
�zDistribution._include_misccKs@|��D]2\}}t|d|d�}|r.||�q|�||�qdS)NZ	_exclude_)rGr�r )ryrzrfrg�excluder2r2r3r#7s

zDistribution.excludecCs,t|t�std|f��tt|j|��dS)Nz.packages: setting must be a list or tuple (%r))r[rrrCr�r)ryrr2r2r3�_exclude_packagesNs

�zDistribution._exclude_packagesc
Cs�|jj|_|jj|_|d}|�d�}||vrf||\}}||=ddl}|�|d�|dd�<|d}q&t�|||�}|�|�}	t	|	dd�r�d|f|�|�d<|dur�gS|S)Nr�aliasesTrZcommand_consumes_arguments�command line�args)
�	__class__Zglobal_optionsr�r��shlexr�r��_parse_command_optsrr�)
ryr�r'rr%r�r�r)�nargsZ	cmd_classr2r2r3r*Us"




z Distribution._parse_command_optscCs�i}|j��D]�\}}|��D]�\}\}}|dkr4q|�dd�}|dkr�|�|�}|j��}|�t|di��|��D]\}	}
|
|krv|	}d}q�qvtd��n|dkr�d}||�	|i�|<qq|S)Nr&r�r�rr�zShouldn't be able to get herer)
r�rGr�Zget_command_objr��copy�updater�r-r�)ry�d�cmdZoptsr�r�r�Zcmdobjr��neg�posr2r2r3�get_cmdline_optionsps(



z Distribution.get_cmdline_optionsccsj|jpdEdH|jpdEdH|jp(dD]:}t|t�rB|\}}n|j}|�d�r^|dd�}|Vq*dS)Nr2�modulei����)rrrr[�tupler(r�)ry�extr(Z	buildinfor2r2r3r�s


z$Distribution.iter_distribution_namesc	Cs�ddl}|jrt�||�St|jtj�s4t�||�S|jj�	�dvrPt�||�S|jj}|jj
dd�zt�||�W|jj
|d�S|jj
|d�0dS)Nr)r��utf8r�r�)r�Z
help_commandsr��handle_display_optionsr[�stdout�io�
TextIOWrapperr�rt�reconfigure)ryZoption_orderr�r�r2r2r3r7�s�z#Distribution.handle_display_optionscs|��t��|�dSrP)r��super�run_command)ryr�r(r2r3r=�szDistribution.run_command)N)N)N)NF)1r��
__module__�__qualname__r\rrCr�rxr{r
r	r�r�r��staticmethodr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrr
rrr9r rr#r$r*r2rr7r=�
__classcell__r2r2r>r3r�sb5�



	

O"
.


&c@seZdZdS)rVN)r�r?r@r2r2r2r3rV�srV)Xr�r9rDr�r�rir��
contextlibr�globr�pathlibr�typingrrrr	r
rrZ
distutils.cmdr;Zdistutils.commandZdistutils.coreZdistutils.distZ
distutils.logZdistutils.debugr
Zdistutils.errorsrrZdistutils.fancy_getoptrZdistutils.utilrZextern.more_itertoolsrrZextern.ordered_setrZextern.packaging.markersrrZextern.packaging.specifiersrrZextern.packaging.versionrr�rrrrr�Z
_importlibr Zconfigr!r"Z	discoveryr#Zmonkeyr$�warningsr%r&r4rCrr4r6rBrHrFrKrUrXr_r`rcrerhrk�corerr�rVr2r2r2r3�<module>st$



{

Youez - 2016 - github.com/yon3zu
LinuXploit