Hacked By AnonymousFox

Current Path : /opt/alt/python27/lib/python2.7/site-packages/setuptools/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyc

�
��Rec@s2dgZddlZddlZddlZddlZddlZddlZddlZddl	Zddl
Z
ddlmZddl
mZmZmZddlmZddlmZddlmZmZmZddlmZdd	lmZdd
lmZddlm Z ddl!m"Z"ddl#Z#d
dl$m%Z%e&d�e&d�d�Z'd�Z(d�Z)e*e+fZ,d�Z-d�Z.d�Z/d�Z0d�Z1d�Z2d�Z3d�Z4d�Z5d�Z6d�Z7d�Z8e ej9j:�Z;de%e;fd ��YZ:d!fd"��YZ<dS(#tDistributioni����N(tdefaultdict(tDistutilsOptionErrortDistutilsPlatformErrortDistutilsSetupError(t
rfc822_escape(tsix(tmaptfiltertfilterfalse(t	packaging(tRequire(twindows_support(t
get_unpatched(tparse_configurationi(tDistribution_parse_config_filess)pkg_resources.extern.packaging.specifierss&pkg_resources.extern.packaging.versioncCstjdt�t|�S(NsDo not call this function(twarningstwarntDeprecationWarningR
(tcls((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt_get_unpatched!scCsd}|js3|js3|js3|js3|jr<d}nt|d�rTd}n|jd|�|jd|j��|jd|j��|jd|j	��|jd	|j
��|jd
|j��|jd|j��|jd|j
��|jr&|jd
|j�nt|j��}|jd|�dj|j��}|rx|jd|�n|j|d|j��|j|d|j��|j|d|j��|j|d|j��|j|d|j��t|d�r|jd|j�ndS(s5Write the PKG-INFO format data to a file object.
    s1.0s1.1tpython_requiress1.2sMetadata-Version: %s
s	Name: %s
sVersion: %s
sSummary: %s
sHome-page: %s
sAuthor: %s
sAuthor-email: %s
sLicense: %s
sDownload-URL: %s
sDescription: %s
t,s
Keywords: %s
tPlatformt
ClassifiertRequirestProvidest	ObsoletessRequires-Python: %s
N(tprovidestrequirest	obsoletestclassifierstdownload_urlthasattrtwritetget_nametget_versiontget_descriptiontget_urltget_contacttget_contact_emailtget_licenseRtget_long_descriptiontjointget_keywordst_write_listt
get_platformstget_classifierstget_requirestget_providest
get_obsoletesR(tselftfiletversiont	long_desctkeywords((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytwrite_pkg_file's8			cCs>ttjj|d�ddd��}|j|�WdQXdS(s3Write the PKG-INFO file into the release tree.
    sPKG-INFOtwtencodingsUTF-8N(topentostpathR+R8(R3tbase_dirtpkg_info((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytwrite_pkg_infoRs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(tdisttattrtvaluetep((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_importable]scCsYydj|�|kst�Wn3ttttfk
rTtd||f��nXdS(s*Verify that value is a string list or Nonets%%r must be a list of strings (got %r)N(R+RERFRGRHR(RIRJRK((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytassert_string_lisths
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(ROthas_contents_forRt
rpartitiont	distutilstlogR(RIRJRKtns_packagestnsptparenttseptchild((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt	check_nsprs
	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(	tlistt	itertoolststarmapt_check_extratitemsRFRGRHR(RIRJRK((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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	partitionRAtinvalid_markerRR[tparse_requirements(textratreqstnameRXtmarker((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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})RJRKN(tboolRtformat(RIRJRKttmpl((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytassert_bool�scCs[yttj|��Wn=ttfk
rV}d}t|jd|d|���nXdS(s9Verify that install_requires is a valid requirements listsm{attr!r} must be a string or list of strings containing valid project/version requirement specifiers; {error}RJterrorN(R[RARdRFRGRRj(RIRJRKRmRk((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_requirements�s
cCsXytjj|�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}RJRmN(R
t
specifierstSpecifierSettInvalidSpecifierRRj(RIRJRKRmRk((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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(RARBt	parse_mapRGR(RIRJRKte((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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(t
isinstanceRtstring_typesR(RIRJRK((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_test_suite�scCs}t|t�rixW|j�D]B\}}t|t�s;Pnyt|�Wqtk
r]PqXqWdSnt|d��dS(s@Verify that value is a dictionary of package names to glob listsNsI must be a dictionary mapping package names to lists of wildcard patterns(RvtdictR_tstrtiterRFR(RIRJRKtktv((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_package_data�s
	cCs=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(tretmatchRSRTR(RIRJRKtpkgname((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytcheck_packages�s

	cBsIeZdZd"Zd�Zd"d�Zd�Zd�Ze	d��Z
d�Zd�Zd"d�Z
d	�Zd
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d�Z"d�Z#d�Z$d �Z%d!�Z&RS(#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.
    cCs�|sd|ksd|kr#dStjt|d��j�}tjjj|�}|dk	r�|jd�r�tj	t|d��|_
||_ndS(NRgR5sPKG-INFO(RAt	safe_nameRztlowertworking_settby_keytgettNonethas_metadatatsafe_versiont_versiont
_patched_dist(R3tattrstkeyRI((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytpatch_missing_pkg_info'scCs(t|d�}|s!i|_n|p*i}d|ksEd|krRtj�ng|_i|_g|_|o�|jdd�|_	|j
|�|dk	r�|jdg�|_t|d|j�n|r�d|kr�|j
|d�nx0tjd�D]}t|�j|jd�qWtj||�t|jjtj�rht|jj�|j_n|jjdk	ryftjj|jj�}t|�}|jj|kr�tjd|jj|f�||j_nWqtjjt fk
rtjd	|jj�qXn|j!�dS(
Ntpackage_datatfeaturestrequire_featurestsrc_roottdependency_linkstsetup_requiressdistutils.setup_keywordssNormalizing '%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.("R!R�tFeaturetwarn_deprecatedR�R�t
dist_filestpopR�R�R�R�ROtfetch_build_eggsRAtiter_entry_pointstvarst
setdefaultRgt
_Distributiont__init__RvtmetadataR5tnumberstNumberRzR
tVersionRRtInvalidVersionRFt_finalize_requires(R3R�thave_package_datat_attrs_dictRLtvertnormalized_version((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�4sH
			
	cCs<t|dd�r$|j|j_n|j�|j�dS(s�
        Set `metadata.python_requires` and fix environment markers
        in `install_requires` and `extras_require`.
        RN(tgetattrR�RR�t_convert_extras_requirementst"_move_install_requirements_markers(R3((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�bs
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"]`.
        textras_requireN(
R�R�RR[t_tmp_extras_requireR_RARdt_suffix_fortappend(R3t
spec_ext_reqstsectionR}trtsuffix((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�lscCs|jrdt|j�SdS(se
        For a requirement, return the 'extras_require' suffix for
        that requirement.
        RaRN(RhRz(treq((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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(Rh(R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt
is_simple_req�stinstall_requiresRac3sF|]<\}}|gt�j|�D]}t|�^q%fVqdS(N(Rt
_clean_reqRz(t.0R|R}R�(R3(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pys	<genexpr>�sN((R�R�R[RARdRR	RRzR�R�RhR�RyR_R�(R3R�tspec_inst_reqst	inst_reqstsimple_reqstcomplex_reqsR�((R3s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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(R�Rh(R3R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��s	cCs1tj|d|�t||j�|j�dS(sYParses configuration files from various levels
        and loads configuration.

        t	filenamesN(R�tparse_config_filesRtcommand_optionsR�(R3R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��scCs)tj|�}|jr%|j�n|S(s3Process features after parsing command line options(R�tparse_command_lineR�t_finalize_features(R3tresult((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��s	
cCsd|jdd�S(s;Convert feature name to corresponding option attribute nametwith_t-t_(treplace(R3Rg((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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�(RAR�tresolveRdtfetch_build_eggtTruetadd(R3Rtresolved_distsRI((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��s			
cCs�tj|�|jr#|j�nxgtjd�D]V}t||jd�}|dk	r3|j	d|j
�|j�||j|�q3q3Wt|dd�r�g|jD]}t
jj|�^q�|_n	g|_dS(Nsdistutils.setup_keywordsR�tconvert_2to3_doctests(R�tfinalize_optionsR�t_set_global_opts_from_featuresRAR�R�RgR�trequireR�tloadR�R<R=tabspath(R3RLRKtp((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��s
	
 +cCs�tjjtjd�}tjj|�s�tj|�tj|�tjj|d�}t|d��.}|j	d�|j	d�|j	d�WdQXn|S(Ns.eggss
README.txtR9scThis 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+tcurdirtexiststmkdirRt	hide_fileR;R"(R3t
egg_cache_dirtreadme_txt_filenametf((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytget_egg_cache_dir�s



c
Csfy|j}g|j_Wn=tk
rXddlm}|jidgd6�}|j�|jd�}d}x*t	|�D]}||kr~||=q~q~W|j
r�|j
}d|kr�|dd
j�|}nd|f|d<n|j�}	||dd
gd|	dt
dtdddtdtdt
dt
dt�
}|j�||_nX|j|�S(s Fetch an egg needed for buildingi����(teasy_installR�tscript_argst
find_linkst	site_dirst	index_urltoptimizetallow_hostsitsetuptargstxtinstall_dirtexclude_scriptstalways_copytbuild_directoryteditabletupgradet
multi_versiont	no_reporttuser(R�R�R�R�R�R�N(t_egg_fetchert
package_indextto_scanRHtsetuptools.command.easy_installR�t	__class__R�tget_option_dictR[R�tsplitR�R�tFalseR�tensure_finalized(
R3R�tcmdR�RItoptstkeepR�tlinksR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR��s6	

	


c	Csg}|jj�}x�|jj�D]�\}}|j|d�|j|�|jr%|j}d}d}|j	�s�||}}nd|dd||fd|dd||ff}|j
|�d||d|<q%q%W||j|_|_||_|_
dS(s;Add --with-X/--without-X options based on optional featuress
 (default)RNswith-sinclude swithout-sexclude N(tnegative_opttcopyR�R_t_set_featureR�tvalidatetoptionaltdescriptiontinclude_by_defaulttextendtglobal_optionstfeature_optionstfeature_negopt(	R3tgotnoRgtfeaturetdescrtincdeftexcdeftnew((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�s"
		
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_includedR�Rt
include_inRtexclude_from(R3RgRtenabled((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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(tcmdclassRAR�R�R�R�R�tget_command_class(R3tcommandtepsRLR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR4s
cCsXxHtjd�D]7}|j|jkr|j�}||j|j<qqWtj|�S(Nsdistutils.commands(RAR�RgRR�R�tprint_commands(R3RLR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRAs
cCsXxHtjd�D]7}|j|jkr|j�}||j|j<qqWtj|�S(Nsdistutils.commands(RAR�RgRR�R�tget_command_list(R3RLR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRIs
cCst||j|�|�dS(sSet feature's inclusion statusN(tsetattrR�(R3Rgtstatus((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRQscCst||j|��S(sAReturn 1 if feature is included, 0 if excluded, 'None' if unknown(R�R�(R3Rg((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRUscCs`|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(RR�RRRR(R3RgR
((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytinclude_featureYs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.exclude(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_R�R�t
_include_misc(R3R�R|R}tinclude((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR ds

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 packageRPN(tpackagest
startswitht
py_modulestext_modulesRg(R3tpackagetpfxR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytexclude_packagezs
	.	.	cCsD|d}x3|j�D]%}||ks8|j|�rtSqWdS(s<Return true if 'exclude_package(package)' would do somethingRPN(titer_distribution_namesR"R�(R3R%R&R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRQ�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(RvtsequenceRR�RHR�R(R3RgRKtoldtitem((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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(RvR)RR�RHR�R(R3RgRKR*R+R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�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_R�R�R,(R3R�R|R}texclude((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR.�s

cCs?t|t�s%td|f��ntt|j|��dS(Ns.packages: setting must be a list or tuple (%r)(RvR)RR[RR'(R3R!((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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 lineR�(R�RR�R�tshlexR�R�R�t_parse_command_optsRR�R�(
R3tparserR�RR0tsrctaliasR2tnargst	cmd_class((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR3�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(R�R_R�tget_command_objR�RtupdateR�R�RER�(R3tdR�R�toptR5tvaltcmdobjtneg_opttnegtpos((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pytget_cmdline_options�s(
	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((((R!R#R$RvttupleRgtendswith(R3tpkgRCtextRgt	buildinfo((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR(#s			
c	Cs0ddl}tjs|jr.tj||�Sddl}t|j|j	�s_tj||�S|jj
j�dkr�tj||�S|jj
}|jj}|j
dkr�dp�d}|jj}|j	|jj�d|||�|_ztj||�SWd|j	|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-8RI(tsysRtPY2t
help_commandsR�thandle_display_optionstioRvtstdoutt
TextIOWrapperR:R�terrorstplatformR�tline_bufferingtdetach(R3toption_orderRKROR:RRtnewlineRT((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyRN5s$!N('t__name__t
__module__t__doc__R�R�R�R�R�R�tstaticmethodR�R�R�R�R�R�R�R�R�R�R�R�RRRRRRR R'RQR,RR.R/R3RBR(RN(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�sFB	
.	
			
						"			
															(	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(tmsg((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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�Rtstandardt	availableRRvRzRR�tremoveRDR(
R3RR^R_RR�R`RDR�ter((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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^(R3((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�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_RRR RDR�R(R3RIR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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(R.RDR`R'(R3RIR+((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/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`RQRR(R3RIR+((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�s
(((RXRYRZR[R�R�R�R�RRRR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyR�Ys7				(=t__all__RR<RR�t
distutils.logRStdistutils.coret
distutils.cmdtdistutils.distR\tcollectionsRtdistutils.errorsRRRtdistutils.utilRtsetuptools.externRtsetuptools.extern.six.movesRRR	tpkg_resources.externR
tsetuptools.dependsRt
setuptoolsRtsetuptools.monkeyR
tsetuptools.configRRAt
py36compatRt
__import__RR8R@RDR[R)RMRORZR`R^RlRnRrRuRxR~R�tcoreRR�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/setuptools/dist.pyt<module>sX	

		+			
											��z

Hacked By AnonymousFox1.0, Coded By AnonymousFox