Your IP : 3.144.98.61


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

�
��RecF@@s�
dZddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZyddlZWnek
rQddlZnXddlmZddlm Z m!Z!m"Z"ddlm#Z#y&ddlm$Z$m%Z%m&Z&e'Z(Wnek
r�e)Z(nXdd	lm*Z+dd
l,m-Z-m.Z.yddl/j0Z1e1j2Wnek
r'e3Z1nXddl4m5Z5dd
lm6Z6ddlm7Z7e8d�e8d�e8d�e8d�ddfej9ko�ddfknr�e:d��ne3Z;e3Z<de=fd��YZ>de?fd��YZ@de@e7jAjBfd��YZCde@e7jAjDfd��YZEd�ZFiZGd�ZHd�ZId �ZJd!�ZKd"�ZLd#�ZMd$�ZNd%�ZOZPd&�ZQd'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFddGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkgFZRdBeSfdl��YZTdCeTfdm��YZUdneUfdo��YZVdDeTfdp��YZWdEeTfdq��YZXiZYejAd ZZdZ[drZ\dZ]dZ^dsZ_dt�Z`du�Zagdv�Zbdw�Zcdx�Zdejedy�Zfejedz�ZgedZhd{�Zid|�ZjejZkd}�Zld~�Zme3d�Znd��ZodZfd���YZpd[epfd���YZqd=e?fd���YZrd�esfd���YZtd<e?fd���YZueuZvdFe:fd���YZwd>fd���YZxd��Zyd��Zzd��Z{d��Z|d��Z}d��Z~e3d��Zdafd���YZ�e`e?e��dbe�fd���YZ�dce�fd���YZ�e�j��d_e�fd���YZ�e��Z�d�esfd���YZ�d�e�fd���YZ�d�e	j�fd���YZ�dde�fd���YZ�e`e
j�e��d\e�fd���YZ�d]e�fd���YZ�d^e�fd���YZ�eHd�d�i�d��Z�e)d��Z�e)d��Z�e�e
j�e��e)d��Z�e�e?e��d��Z�e)d��Z�e�ej�e��e�e1d��r=e�e1j�e��neHd�d�i�eHd�d�i�d��Z�d��Z�d��Z�d��Z�e3d��Z�d��Z�e�ej�e��e�e
j�e��e�e1d��r�e�e1j�e��nd��Z�e�e?e��d��Z�id��Z�d��Z�d��Z�d��Z�d��Z�ejed��j�Z�ejed�ej�ej�B�j�Z�dAe?fd���YZ�d��Z�d��Z�d?e?fd���YZ�d�e�fd���YZ�d�e�fd���YZ�ie�d�6e�d�6e�d�6Z�d��Z�d�e�fd���YZ�d��Z�d@e7j�j�fd���YZ�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�ej�d�d�e>d�e'�d��Z�e�e��d���Z�e�d���Z�dS(�sZ
Package resource API
--------------------

A resource is a logical file contained within a package, or a logical
subdirectory thereof.  The package resource API expects resource names
to have their path parts separated with ``/``, *not* whatever the local
path separator is.  Do not use os.path operations to manipulate resource
names being passed into the API.

The package resource API is designed to work with normal filesystem packages,
.egg files, and unpacked .egg files.  It can also work in a limited way with
.zip files and with custom PEP 302 loaders that support the ``get_data()``
method.
i(tabsolute_importN(tget_importer(tsix(turllibtmaptfilter(tutime(tmkdirtrenametunlink(topen(tisdirtspliti(t
py31compat(tappdirs(t	packagings&pkg_resources.extern.packaging.versions)pkg_resources.extern.packaging.specifierss+pkg_resources.extern.packaging.requirementss&pkg_resources.extern.packaging.markersisPython 3.3 or later is requiredt
PEP440WarningcB@seZdZRS(sa
    Used when there is an issue with a version or specifier not complying with
    PEP 440.
    (t__name__t
__module__t__doc__(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRYst_SetuptoolsVersionMixincB@sYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
RS(	cC@stt|�j�S(N(tsuperRt__hash__(tself((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRascC@s9t|t�rt|�|kStt|�j|�SdS(N(t
isinstancettupleRRt__lt__(Rtother((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRdscC@s9t|t�rt|�|kStt|�j|�SdS(N(RRRRt__le__(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRjscC@s9t|t�rt|�|kStt|�j|�SdS(N(RRRRt__eq__(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRpscC@s9t|t�rt|�|kStt|�j|�SdS(N(RRRRt__ge__(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRvscC@s9t|t�rt|�|kStt|�j|�SdS(N(RRRRt__gt__(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR|scC@s9t|t�rt|�|kStt|�j|�SdS(N(RRRRt__ne__(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR �scC@st|�|S(N(R(Rtkey((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__getitem__�sc#@s�tjdtj��idd6dd6dd6dd6dd	6j���fd
���fd�}tjdtd
d�x|t|��D]}|Vq�WdS(Ns(\d+ | [a-z]+ | \.| -)tctpretpreviewsfinal-t-trct@tdevc3@suxi�j|�D]X}�||�}|s|dkr>qn|d dkr_|jd�Vqd|VqWdVdS(Nt.it
0123456789it*s*final(Rtzfill(tstpart(tcomponent_retreplace(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_parse_version_parts�s
c@s�g}x��|j��D]�}|jd�r�|dkrdx'|r`|ddkr`|j�q=Wnx'|r�|ddkr�|j�qgWn|j|�qWt|�S(NR,s*finali����s*final-t00000000(tlowert
startswithtpoptappendR(R.tpartsR/(R2(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytold_parse_version�ss�You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.t
stackleveli(tretcompiletVERBOSEtgettwarningstwarntRuntimeWarningtstr(RR9R/((R2R0R1s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__iter__�s
(RRRRRRRRR R"RC(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR`s								tSetuptoolsVersioncB@seZRS((RR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRD�stSetuptoolsLegacyVersioncB@seZRS((RR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRE�scC@s3yt|�SWntjjk
r.t|�SXdS(N(RDRtversiontInvalidVersionRE(tv((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt
parse_version�scK@s-t�j|�tjtj||��dS(N(tglobalstupdatet_state_varstdicttfromkeys(tvartypetkw((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_declare_state�scC@sLi}t�}x6tj�D](\}}|d|||�||<qW|S(Nt_sget_(RJRLtitems(tstatetgtkRH((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__getstate__�s
	 cC@sJt�}x:|j�D],\}}|dt|||||�qW|S(Nt_sset_(RJRSRL(RTRURVRH((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__setstate__�s	$cC@s
|j�S(N(tcopy(tval((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_sget_dict�scC@s|j�|j|�dS(N(tclearRK(R!tobRT((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_sset_dict�s
cC@s
|j�S(N(RW(R[((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_sget_object�scC@s|j|�dS(N(RY(R!R^RT((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_sset_object�scG@sdS(N(tNone(targs((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt<lambda>�tcC@s{t�}tj|�}|dk	rwtjdkrwy-ddjt�d �|jd�f}Wqwt	k
rsqwXn|S(sZReturn this platform's maximum compatible version.

    distutils.util.get_platform() normally reports the minimum version
    of Mac OS X that would be required to *use* extensions produced by
    distutils.  But what we want when checking compatibility is to know the
    version of Mac OS X that we are *running*.  To allow usage of packages that
    explicitly require a newer version of Mac OS X, we must also know the
    current version of the OS.

    If this condition occurs for any other platform with a version in its
    platform strings, this function should be extended accordingly.
    tdarwinsmacosx-%s-%sR*iiN(
tget_build_platformtmacosVersionStringtmatchRbtsystplatformtjoint_macosx_verstgroupt
ValueError(tplattm((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytget_supported_platform�s
	-
trequiret
run_scripttget_providertget_distributiontload_entry_pointt
get_entry_maptget_entry_infotiter_entry_pointstresource_stringtresource_streamtresource_filenametresource_listdirtresource_existstresource_isdirtdeclare_namespacetworking_settadd_activation_listenertfind_distributionstset_extraction_pathtcleanup_resourcestget_default_cachetEnvironmentt
WorkingSettResourceManagertDistributiontRequirementt
EntryPointtResolutionErrortVersionConflicttDistributionNotFoundtUnknownExtratExtractionErrortparse_requirementsRIt	safe_nametsafe_versiontget_platformtcompatible_platformstyield_linestsplit_sectionst
safe_extratto_filenametinvalid_markertevaluate_markertensure_directorytnormalize_pathtEGG_DISTtBINARY_DISTtSOURCE_DISTt
CHECKOUT_DISTtDEVELOP_DISTtIMetadataProvidertIResourceProvidertFileMetadatatPathMetadatatEggMetadatat
EmptyProvidertempty_providertNullProvidertEggProvidertDefaultProvidertZipProvidertregister_findertregister_namespace_handlertregister_loader_typetfixup_namespace_packagesRtrun_maintAvailableDistributionscB@seZdZd�ZRS(s.Abstract base for dependency resolution errorscC@s|jjt|j�S(N(t	__class__RtreprRc(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__repr__Gs(RRRR�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�DscB@sDeZdZdZed��Zed��Zd�Zd�ZRS(s�
    An already-installed version conflicts with the requested version.

    Should be initialized with the installed Distribution and the requested
    Requirement.
    s3{self.dist} is installed but {self.req} is requiredcC@s|jdS(Ni(Rc(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytdistUscC@s|jdS(Ni(Rc(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytreqYscC@s|jjt��S(N(t	_templatetformattlocals(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytreport]scC@s$|s
|S|j|f}t|�S(st
        If required_by is non-empty, return a version of self that is a
        ContextualVersionConflict.
        (RctContextualVersionConflict(Rtrequired_byRc((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytwith_context`s(	RRRR�tpropertyR�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�Ks	R�cB@s*eZdZejdZed��ZRS(s�
    A VersionConflict that accepts a third parameter, the set of the
    requirements that required the installed Distribution.
    s by {self.required_by}cC@s|jdS(Ni(Rc(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�ss(RRRR�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�ks
cB@sSeZdZdZed��Zed��Zed��Zd�Zd�Z	RS(s&A requested distribution was not foundsSThe '{self.req}' distribution was not found and is required by {self.requirers_str}cC@s|jdS(Ni(Rc(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�~scC@s|jdS(Ni(Rc(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt	requirers�scC@s|js
dSdj|j�S(Nsthe applications, (R�Rl(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt
requirers_str�s	cC@s|jjt��S(N(R�R�R�(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s
|j�S(N(R�(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__str__�s(
RRRR�R�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�xs	cB@seZdZRS(s>Distribution doesn't have an "extra feature" of the given name(RRR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��sii����cC@s|t|<dS(sRegister `provider_factory` to make providers for `loader_type`

    `loader_type` is the type or class of a PEP 302 ``module.__loader__``,
    and `provider_factory` is a function that, passed a *module* object,
    returns an ``IResourceProvider`` for that module.
    N(t_provider_factories(tloader_typetprovider_factory((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s�t|t�r2tj|�p1tt|��dSytj|}Wn(tk
rmt	|�tj|}nXt
|dd�}tt
|�|�S(s?Return an IResourceProvider for the named module or requirementit
__loader__N(RR�R�tfindRsRBRjtmodulestKeyErrort
__import__tgetattrRbt
_find_adapterR�(tmoduleOrReqtmoduletloader((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRu�s#

cC@s�|s�tj�d}|dkrzd}tjj|�rzttd�rwtj|�}d|krt|d}qtqwqzn|j|j	d��n|dS(NiRes0/System/Library/CoreServices/SystemVersion.plistt	readPlisttProductVersionR*(
Rktmac_vertostpathtexiststhasattrtplistlibR�R7R(t_cacheRFtplistt
plist_content((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRm�scC@sidd6dd6j||�S(NtppctPowerPCtPower_Macintosh(R>(tmachine((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_macosx_arch�scC@s�yddlm}Wn!tk
r7ddlm}nX|�}tjdkr�|jd�r�yTt�}tj	�dj
dd�}dt|d�t|d	�t|�fSWq�t
k
r�q�Xn|S(
s�Return this platform's string for platform-specific distributions

    XXX Currently this is the same as ``distutils.util.get_platform()``, but it
    needs some hacks for Linux and Mac OS X.
    i(R�Rfsmacosx-it t_smacosx-%d.%d-%si(t	sysconfigR�tImportErrortdistutils.utilRjRkR5RmR�tunameR1tintR�Ro(R�RpRFR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRg�s
		
smacosx-(\d+)\.(\d+)-(.*)sdarwin-(\d+)\.(\d+)\.(\d+)-(.*)cC@sO|d	ks$|d	ks$||kr(tStj|�}|rKtj|�}|s�tj|�}|r�t|jd��}d|jd�|jd�f}|dkr�|dks�|dkr�|dkr�tSntS|jd�|jd�ks|jd�|jd�krtSt|jd��t|jd��krGtStStS(
s�Can code for the `provided` platform run on the `required` platform?

    Returns true if either platform is ``None``, or the platforms are equal.

    XXX Needs compatibility checks for Linux and other unixy OSes.
    is%s.%siis10.3is10.4iN(RbtTrueRhRitdarwinVersionStringR�RntFalse(tprovidedtrequiredtreqMactprovMact
provDarwintdversiontmacosversion((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s*$"*cC@sNtjd�j}|d}|j�||d<t|�dj||�dS(s@Locate distribution `dist_spec` and run its `script_name` scriptiRiN(Rjt	_getframet	f_globalsR]RsRt(t	dist_spectscript_nametnstname((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRts



cC@sgt|tj�r$tj|�}nt|t�rBt|�}nt|t�sctd|��n|S(s@Return a current distribution object for a Requirement or strings-Expected string, Requirement, or Distribution(RRtstring_typesR�tparseRuR�t	TypeError(R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRv'scC@st|�j||�S(sDReturn `name` entry point of `group` for `dist` or raise ImportError(RvRw(R�RnR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRw2scC@st|�j|�S(s=Return the entry point map for `group`, or the full entry map(RvRx(R�Rn((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRx7scC@st|�j||�S(s<Return the EntryPoint object for `group`+`name`, or ``None``(RvRy(R�RnR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRy<scB@s>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cC@sdS(s;Does the package's distribution contain the named metadata?N((R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pythas_metadataBRecC@sdS(s'The named metadata resource as a stringN((R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytget_metadataERecC@sdS(s�Yield named metadata resource as list of non-blank non-comment lines

       Leading and trailing whitespace is stripped from each line, and lines
       with ``#`` as the first non-blank character are omitted.N((R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytget_metadata_linesHRecC@sdS(s>Is the named metadata a directory?  (like ``os.path.isdir()``)N((R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytmetadata_isdirNRecC@sdS(s?List of metadata names in the directory (like ``os.listdir()``)N((R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytmetadata_listdirQRecC@sdS(s=Execute the named script in the supplied namespace dictionaryN((R�t	namespace((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRtTRe(RRR�R�R�RRRt(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�As					cB@sDeZdZd�Zd�Zd�Zd�Zd�Zd�ZRS(s3An object that provides access to package resourcescC@sdS(sdReturn a true filesystem path for `resource_name`

        `manager` must be an ``IResourceManager``N((tmanagert
resource_name((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytget_resource_filename[RecC@sdS(siReturn a readable file-like object for `resource_name`

        `manager` must be an ``IResourceManager``N((RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytget_resource_stream`RecC@sdS(smReturn a string containing the contents of `resource_name`

        `manager` must be an ``IResourceManager``N((RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytget_resource_stringeRecC@sdS(s,Does the package contain the named resource?N((R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pythas_resourcejRecC@sdS(s>Is the named resource a directory?  (like ``os.path.isdir()``)N((R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�mRecC@sdS(s?List of resource names in the directory (like ``os.listdir()``)N((R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR~pRe(	RRRRRRRR�R~(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�Xs					cB@s�eZdZdd�Zed��Zed��Zd�Zd�Z	d�Z
dd�Zd�Zd	�Z
deed
�Zddedd�Zdded�Zd
�Zed�Zd�Zd�Zd�ZRS(sDA collection of active distributions on sys.path (or a similar list)cC@s^g|_i|_i|_g|_|dkr<tj}nx|D]}|j|�qCWdS(s?Create working set from list of path entries (default=sys.path)N(tentriest
entry_keystby_keyt	callbacksRbRjR�t	add_entry(RR	tentry((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__init__ws				
cC@se|�}yddlm}Wntk
r1|SXy|j|�Wntk
r`|j|�SX|S(s1
        Prepare the master working set.
        i(t__requires__(t__main__RR�RsR�t_build_from_requirements(tclstwsR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_build_master�s	

cC@s�|g�}t|�}|j|t��}x|D]}|j|�q4Wx0tjD]%}||jkrU|j|�qUqUW|jtj(|S(sQ
        Build a working set from a requirement spec. Rewrites sys.path.
        (R�tresolveR�taddRjR�R	R
(Rtreq_specRtreqstdistsR�R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s

cC@sT|jj|g�|jj|�x*t|t�D]}|j||t�q3WdS(s�Add a path item to ``.entries``, finding any distributions on it

        ``find_distributions(entry, True)`` is used to find distributions
        corresponding to the path entry, and they are added.  `entry` is
        always appended to ``.entries``, even if it is already present.
        (This is because ``sys.path`` can contain the same value more than
        once, and the ``.entries`` of the ``sys.path`` WorkingSet should always
        equal ``sys.path``.)
        N(R
t
setdefaultR	R7R�R�RR�(RRR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR
�s
cC@s|jj|j�|kS(s9True if `dist` is the active distribution for its project(RR>R!(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__contains__�scC@sC|jj|j�}|dk	r?||kr?t||��n|S(s�Find a distribution matching requirement `req`

        If there is an active distribution for the requested project, this
        returns it as long as it meets the version requirement specified by
        `req`.  But, if there is an active distribution for the project and it
        does *not* meet the `req` requirement, ``VersionConflict`` is raised.
        If there is no active distribution for the requested project, ``None``
        is returned.
        N(RR>R!RbR�(RR�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s
cc@sgx`|D]X}|j|�}|dkrGx4|j�D]}|Vq5Wq||kr||VqqWdS(sYield entry point objects from `group` matching `name`

        If `name` is None, yields all entry points in `group` from all
        distributions in the working set, otherwise only ones matching
        both `group` and `name` are yielded (in distribution order).
        N(RxRbtvalues(RRnR�R�R	tep((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRz�s
cC@sQtjd�j}|d}|j�||d<|j|�dj||�dS(s?Locate distribution for `requires` and run `script_name` scriptiRiN(RjR�R�R]RsRt(RtrequiresR�R�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRt�s



cc@spi}xc|jD]X}||jkr+qnx:|j|D]+}||kr9d||<|j|Vq9q9WqWdS(s�Yield distributions for non-duplicate projects in the working set

        The yield order is the order in which the items' path entries were
        added to the working set.
        iN(R	R
R(RtseentitemR!((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRC�s
cC@s�|r"|j|j|d|�n|dkr:|j}n|jj|g�}|jj|jg�}|r�|j|jkr�dS||j|j<|j|kr�|j|j�n|j|kr�|j|j�n|j	|�dS(sAdd `dist` to working set, associated with `entry`

        If `entry` is unspecified, it defaults to the ``.location`` of `dist`.
        On exit from this routine, `entry` is added to the end of the working
        set's ``.entries`` (if it wasn't already present).

        `dist` is only added to the working set if it's for a project that
        doesn't already have a distribution in the set, unless `replace=True`.
        If it's added, any callbacks registered with the ``subscribe()`` method
        will be called.
        R1N(
t	insert_onR	RbtlocationR
RR!RR7t
_added_new(RR�RtinsertR1tkeystkeys2((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@s%t|�ddd�}i}i}g}t�}	tjt�}
x�|r |jd�}||krmqFn|	j||�s�qFn|j|j�}|dkr�|j
j|j�}|dks�||krt|rt|}
|dkr!|dkrt|j�}q!tg�}t
g�}
n|j||
|�}||j<|dkrt|
j|d�}t||��qtn|j|�n||kr�|
|}t||�j|��n|j|j�ddd�}|j|�x/|D]'}|
|j|j�|j|	|<q�Wt||<qFW|S(s�List all distributions needed to (recursively) meet `requirements`

        `requirements` must be a sequence of ``Requirement`` objects.  `env`,
        if supplied, should be an ``Environment`` instance.  If
        not supplied, it defaults to all distributions available within any
        entry or distribution in the working set.  `installer`, if supplied,
        will be invoked with each requirement that cannot be met by an
        already-installed distribution; it should return a ``Distribution`` or
        ``None``.

        Unless `replace_conflicting=True`, raises a VersionConflict exception if
        any requirements are found on the path that have the correct name but
        the wrong version.  Otherwise, if an `installer` is supplied it will be
        invoked to obtain the correct version of the requirement and activate
        it.

        `extras` is a list of the extras to be used with these requirements.
        This is important because extra requirements may look like `my_req;
        extra = "my_extra"`, which would otherwise be interpreted as a purely
        optional requirement.  Instead, we want to be able to assert that these
        requirements are truly required.
        Ni����i(tlistt
_ReqExtrastcollectionstdefaultdicttsetR6tmarkers_passR>R!RbRR�R	R�t
best_matchR�R7R�R�RtextrastextendRtproject_nameR�(Rtrequirementstenvt	installertreplace_conflictingR/t	processedtbesttto_activatet
req_extrasR�R�R�RR�t
dependent_reqtnew_requirementstnew_requirement((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRsJ		 


cC@sAt|�}|j�i}i}|dkrJt|j�}||7}n
||}|jg�}	tt|	j|��x�|D]�}
x�||
D]�}|j�g}y|	j	|||�}
Wn*t
k
r�}|||<|r�q�qPq�Xtt|	j|
��|jtj
|
��Pq�Wq�Wt|�}|j�||fS(ssFind all activatable distributions in `plugin_env`

        Example usage::

            distributions, errors = working_set.find_plugins(
                Environment(plugin_dirlist)
            )
            # add plugins+libs to sys.path
            map(working_set.add, distributions)
            # display errors
            print('Could not load', errors)

        The `plugin_env` should be an ``Environment`` instance that contains
        only distributions that are in the project's "plugin directory" or
        directories. The `full_env`, if supplied, should be an ``Environment``
        contains all currently-available distributions.  If `full_env` is not
        supplied, one is created automatically from the ``WorkingSet`` this
        method is called on, which will typically mean that every directory on
        ``sys.path`` will be scanned for distributions.

        `installer` is a standard installer callback as used by the
        ``resolve()`` method. The `fallback` flag indicates whether we should
        attempt to resolve older versions of a plugin if the newest version
        cannot be resolved.

        This method returns a 2-tuple: (`distributions`, `error_info`), where
        `distributions` is a list of the distributions found in `plugin_env`
        that were loadable, along with any other distributions that are needed
        to resolve their dependencies.  `error_info` is a dictionary mapping
        unloadable plugin distributions to an exception instance describing the
        error that occurred. Usually this will be a ``DistributionNotFound`` or
        ``VersionConflict`` instance.
        N(R(tsortRbR�R	R�RRtas_requirementRR�RKRMRN(Rt
plugin_envtfull_envR4tfallbacktplugin_projectst
error_infot
distributionsR3t
shadow_setR1R�R�t	resolveesRH((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytfind_pluginsos4$




	
cG@s7|jt|��}x|D]}|j|�qW|S(s�Ensure that distributions matching `requirements` are activated

        `requirements` must be a string or a (possibly-nested) sequence
        thereof, specifying the distributions and versions required.  The
        return value is a sequence of the distributions that needed to be
        activated to fulfill the requirements; all relevant distributions are
        included, even if they were already activated in this working set.
        (RR�R(RR2tneededR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRs�s	
cC@sL||jkrdS|jj|�|s-dSx|D]}||�q4WdS(s�Invoke `callback` for all distributions

        If `existing=True` (default),
        call on all existing ones, as well.
        N(RR7(RtcallbacktexistingR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt	subscribe�s
cC@s"x|jD]}||�q
WdS(N(R(RR�RI((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR$�scC@s*|j|jj�|jj�|jfS(N(R	R
RZRR(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRW�scC@sH|\}}}}||_|j�|_|j�|_||_dS(N(R	RZR
RR(Rte_k_b_cR	R&RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRY�s

N(RRRRbRtclassmethodRRR
RR�RzRtRCR�R�RRRGRsRKR$RWRY(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�ts(
					WS			R)cB@seZdZdd�ZRS(s>
    Map each requirement to the extras that demanded it.
    c@s@�fd�|j�d�|p$dD�}�jp?t|�S(s�
        Evaluate markers for req against each extra that
        demanded it.

        Return False if the req has a marker and fails
        evaluation. Otherwise, return True.
        c3@s(|]}�jji|d6�VqdS(textraN(tmarkertevaluate(t.0RN(R�(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pys	<genexpr>s(N(N(R>RbROtany(RR�R/textra_evals((R�s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR-�s	 N(RRRRbR-(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR)�scB@s�eZdZde�ed�Zd�Zd�Zdd�Z	d�Z
d�Zdd�Zdd�Z
d	�Zd
�Zd�ZRS(
s5Searchable snapshot of distributions on a search pathcC@s,i|_||_||_|j|�dS(s!Snapshot distributions available on a search path

        Any distributions found on `search_path` are added to the environment.
        `search_path` should be a sequence of ``sys.path`` items.  If not
        supplied, ``sys.path`` is used.

        `platform` is an optional string specifying the name of the platform
        that platform-specific distributions must be compatible with.  If
        unspecified, it defaults to the current platform.  `python` is an
        optional string naming the desired version of Python (e.g. ``'3.3'``);
        it defaults to the current version.

        You may explicitly set `platform` (and/or `python`) to ``None`` if you
        wish to map *all* distributions, not just those compatible with the
        running platform or Python version.
        N(t_distmapRktpythontscan(Rtsearch_pathRkRU((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR
s			cC@sC|jdks0|jdks0|j|jkoBt|j|j�S(s�Is distribution `dist` acceptable for this environment?

        The distribution must match the platform and python version
        requirements specified when this environment was created, or False
        is returned.
        N(RURbt
py_versionR�Rk(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytcan_add!scC@s|j|jj|�dS(s"Remove `dist` from the environmentN(RTR!tremove(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRZ,scC@sQ|dkrtj}nx2|D]*}x!t|�D]}|j|�q2WqWdS(sdScan `search_path` for distributions usable in this environment

        Any distributions found are added to the environment.
        `search_path` should be a sequence of ``sys.path`` items.  If not
        supplied, ``sys.path`` is used.  Only distributions conforming to
        the platform/python version defined at initialization are added.
        N(RbRjR�R�R(RRWR!R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRV0s

cC@s|j�}|jj|g�S(sReturn a newest-to-oldest list of distributions for `project_name`

        Uses case-insensitive `project_name` comparison, assuming all the
        project's distributions use their project's name converted to all
        lowercase as their key.

        (R4RTR>(RR1tdistribution_key((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR"?scC@su|j|�rq|j�rq|jj|jg�}||krq|j|�|jdtjd�dt	�qqndS(sLAdd `dist` if we ``can_add()`` it and it has not already been added
        R!thashcmptreverseN(
RYthas_versionRTRR!R7R=toperatort
attrgetterR�(RR�R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRJs

cC@sW|j|�}|dk	r|Sx%||jD]}||kr-|Sq-W|j||�S(s�Find distribution best matching `req` and usable on `working_set`

        This calls the ``find(req)`` method of the `working_set` to see if a
        suitable distribution is already active.  (This may raise
        ``VersionConflict`` if an unsuitable version of the project is already
        active in the specified `working_set`.)  If a suitable distribution
        isn't active, this method returns the newest distribution in the
        environment that meets the ``Requirement`` in `req`.  If no suitable
        distribution is found, and `installer` is supplied, then the result of
        calling the environment's ``obtain(req, installer)`` method will be
        returned.
        N(R�RbR!tobtain(RR�R�R4R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR.Ss
cC@s|dk	r||�SdS(s�Obtain a distribution matching `requirement` (e.g. via download)

        Obtain a distro that matches requirement (e.g. via download).  In the
        base ``Environment`` class, this routine just returns
        ``installer(requirement)``, unless `installer` is None, in which case
        None is returned instead.  This method is a hook that allows subclasses
        to attempt other ways of obtaining a distribution before falling back
        to the `installer` argument.N(Rb(RtrequirementR4((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRais	cc@s0x)|jj�D]}||r|VqqWdS(s=Yield the unique project names of the available distributionsN(RTR&(RR!((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRCus
cC@s{t|t�r|j|�nXt|t�rdxF|D](}x||D]}|j|�qFWq5Wntd|f��|S(s2In-place addition of a distribution or environmentsCan't add %r to environment(RR�RR�R�(RRtprojectR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__iadd__{s
cC@s@|jgdddd�}x||fD]}||7}q(W|S(s4Add an environment or distribution to an environmentRkRUN(R�Rb(RRtnewR3((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__add__�sN(RRRRbRrtPY_MAJORRRYRZRVR"RR.RaRCRdRf(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s								cB@seZdZRS(sTAn error occurred extracting a resource

    The following attributes are available from instances of this exception:

    manager
        The resource manager that raised this exception

    cache_path
        The base directory for resource extraction

    original_error
        The exception instance that caused extraction to fail
    (RRR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s
cB@s�eZdZdZd�Zd�Zd�Zd�Zd�Z	d�Z
d�Zd�Zdd	�Z
ed
��Zd�Zd�Zed
�ZRS(s'Manage resource extraction and packagescC@s
i|_dS(N(tcached_files(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@st|�j|�S(sDoes the named resource exist?(RuR(Rtpackage_or_requirementR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@st|�j|�S(s,Is the named resource an existing directory?(RuR�(RRiR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@st|�j||�S(s4Return a true filesystem path for specified resource(RuR(RRiR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR}�scC@st|�j||�S(s9Return a readable file-like object for specified resource(RuR(RRiR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR|�scC@st|�j||�S(s%Return specified resource as a string(RuR(RRiR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR{�scC@st|�j|�S(s1List the contents of the named resource directory(RuR~(RRiR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR~�scC@sttj�d}|jpt�}tjd�j�}t|jt	���}||_
||_||_|�dS(s5Give an error message for problems extracting file(s)is
            Can't extract file(s) to egg cache

            The following error occurred while trying to extract file(s) to the Python egg
            cache:

              {old_exc}

            The Python egg cache directory is currently set to:

              {cache_path}

            Perhaps your account does not have write access to this directory?  You can
            change the cache directory by setting the PYTHON_EGG_CACHE environment
            variable to point to an accessible directory.
            N(
Rjtexc_infotextraction_pathR�ttextwraptdedenttlstripR�R�R�Rt
cache_pathtoriginal_error(Rtold_excRottmplterr((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytextraction_error�s			cC@sn|jpt�}tjj||d|�}yt|�Wn|j�nX|j|�d|j|<|S(s�Return absolute location in cache for `archive_name` and `names`

        The parent directory of the resulting path will be created if it does
        not already exist.  `archive_name` should be the base filename of the
        enclosing egg (which may not be the name of the enclosing zipfile!),
        including its ".egg" extension.  `names`, if provided, should be a
        sequence of path name parts "under" the egg's extraction location.

        This method should only be called by resource providers that need to
        obtain an extraction location, and only for names they intend to
        extract, as it tracks the generated names for possible cleanup later.
        s-tmpi(	RkR�R�R�Rlt_bypass_ensure_directoryRtt_warn_unsafe_extraction_pathRh(Rtarchive_nametnamestextract_pathttarget_path((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytget_cache_path�s


cC@swtjdkr*|jtjd�r*dStj|�j}|tj@sV|tj@rsd|}tj	|t
�ndS(sN
        If the default extraction path is overridden and set to an insecure
        location, such as /tmp, it opens up an opportunity for an attacker to
        replace an extracted file with an unauthorized payload. Warn the user
        if a known insecure location is used.

        See Distribute #375 for more details.
        tnttwindirNs�%s is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).(R�R�R5tenvirontstattst_modetS_IWOTHtS_IWGRPR?R@tUserWarning(R�tmodetmsg((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRvs
&cC@s@tjdkr<tj|�jdBd@}tj||�ndS(s4Perform any platform-specific postprocessing of `tempname`

        This is where Mac header rewrites should be done; other platforms don't
        have anything special they should do.

        Resource providers should call this method ONLY after successfully
        extracting a compressed resource.  They must NOT call it on resources
        that are already in the filesystem.

        `tempname` is the current (temporary) name of the file, and `filename`
        is the name it will be renamed to by the caller after this routine
        returns.
        tposiximi�N(R�R�RR�tchmod(RttempnametfilenameR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytpostprocessscC@s%|jrtd��n||_dS(s�Set the base path where resources will be extracted to, if needed.

        If you do not call this routine before any extractions take place, the
        path defaults to the return value of ``get_default_cache()``.  (Which
        is based on the ``PYTHON_EGG_CACHE`` environment variable, with various
        platform-specific fallbacks.  See that routine's documentation for more
        details.)

        Resources are extracted to subdirectories of this path based upon
        information given by the ``IResourceProvider``.  You may set this to a
        temporary directory, but then you must call ``cleanup_resources()`` to
        delete the extracted files when done.  There is no guarantee that
        ``cleanup_resources()`` will be able to remove all extracted files.

        (Note: you may not change the extraction path for a given resource
        manager once resources have been extracted, unless you first call
        ``cleanup_resources()``.)
        s5Can't change extraction path, files already extractedN(RhRoRk(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�-s	cC@sdS(sB
        Delete all extracted resource files and directories, returning a list
        of the file and directory names that could not be successfully removed.
        This function does not have any concurrency protection, so it should
        generally only be called when the extraction path is a temporary
        directory exclusive to a single process.  This method is not
        automatically called; you must call it explicitly or register it as an
        ``atexit`` function if you wish to ensure cleanup of a temporary
        directory used for extractions.
        N((Rtforce((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�GReN((RRRRbRkRRR�R}R|R{R~RtR{tstaticmethodRvR�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s										cC@s"tjjd�p!tjdd�S(s�
    Return the ``PYTHON_EGG_CACHE`` environment variable
    or a platform-relevant user cache dir for an app
    named "Python-Eggs".
    tPYTHON_EGG_CACHEtappnamesPython-Eggs(R�R~R>Rtuser_cache_dir(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�UscC@stjdd|�S(s�Convert an arbitrary string to a standard distribution name

    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
    s[^A-Za-z0-9.]+R&(R;tsub(R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�ascC@sZyttjj|��SWn9tjjk
rU|jdd�}tjdd|�SXdS(sB
    Convert an arbitrary string to a standard version string
    R�R*s[^A-Za-z0-9.]+R&N(RBRRFtVersionRGR1R;R�(RF((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�is
cC@stjdd|�j�S(s�Convert an arbitrary string to a standard 'extra' name

    Any runs of non-alphanumeric characters are replaced with a single '_',
    and the result is always lowercased.
    s[^A-Za-z0-9.-]+R�(R;R�R4(RN((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�uscC@s|jdd�S(s|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    R&R�(R1(R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�~scC@s;yt|�Wn&tk
r6}d|_d|_|SXtS(so
    Validate text as a PEP 508 environment marker; return an exception
    if invalid or False otherwise.
    N(R�tSyntaxErrorRbR�tlinenoR�(ttextte((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s		cC@sLy tjj|�}|j�SWn%tjjk
rG}t|��nXdS(s�
    Evaluate a PEP 508 environment marker.
    Return a boolean indicating the marker result in this environment.
    Raise SyntaxError if marker is invalid.

    This implementation uses the 'pyparsing' module.
    N(RtmarkerstMarkerRPt
InvalidMarkerR�(R�RNROR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s
cB@s�eZdZdZdZdZd�Zd�Zd�Z	d�Z
d�Zd�Zd�Z
d�Zd	�Zd
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�ZRS(sETry to implement resources and metadata for arbitrary PEP 302 loaderscC@s:t|dd�|_tjjt|dd��|_dS(NR�t__file__Re(R�RbR�R�R�tdirnametmodule_path(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@s|j|j|�S(N(t_fnR�(RRR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@stj|j||��S(N(tiotBytesIOR(RRR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@s|j|j|j|��S(N(t_getR�R�(RRR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@s|j|j|j|��S(N(t_hasR�R�(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@s%|jo$|j|j|j|��S(N(tegg_infoR�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@sE|js
dS|j|j|j|��}tjrA|jd�S|S(NResutf-8(R�R�R�RtPY3tdecode(RR�tvalue((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s	cC@st|j|��S(N(R�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s|j|j|j|��S(N(t_isdirR�R�(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s%|jo$|j|j|j|��S(N(R�R�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@s|j|j|j|��S(N(t_listdirR�R�(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR~�scC@s)|jr%|j|j|j|��SgS(N(R�R�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s	c
B@sd|}|j|�s,ed|��n|j|�jdd�}|jdd�}|j|j|�}||d<ejj|�r�e	|�j
�}e||d�}|||UnQdd	lm
}e|�d|jd�|f||<e||d�}	|	||UdS(
Nsscripts/sNo script named %rs
s
s
R�texeci(tcache(R�R�R�R1R�R�R�R�R�R
treadR<t	linecacheR�tlenR(
RR�Rtscripttscript_texttscript_filenametsourcetcodeR�tscript_code((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRt�s


%cC@std��dS(Ns9Can't perform this operation for unregistered loader type(tNotImplementedError(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@std��dS(Ns9Can't perform this operation for unregistered loader type(R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@std��dS(Ns9Can't perform this operation for unregistered loader type(R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s&|r"tjj||jd��S|S(Nt/(R�R�RlR(RtbaseR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s2t|jd�r"|jj|�Std��dS(Ntget_datas=Can't perform this operation for loaders without 'get_data()'(R�R�R�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��sN(RRRRbtegg_nameR�R�RRRRRR�R�R�R�RR~RRtR�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s,																	cB@s eZdZd�Zd�ZRS(s&Provider based on a virtual filesystemcC@stj||�|j�dS(N(R�Rt
_setup_prefix(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR
scC@s�|j}d}xt||kr�t|�rdtjj|�|_tjj|d�|_||_	Pn|}tjj
|�\}}qWdS(NsEGG-INFO(R�Rbt_is_egg_pathR�R�tbasenameR�RlR�tegg_rootR(RR�toldR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s		(RRRRR�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s	cB@sJeZdZd�Zd�Zd�Zd�Zd�Zed��Z	RS(s6Provides access to package resources in the filesystemcC@stjj|�S(N(R�R�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR� scC@stjj|�S(N(R�R�R(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�#scC@s
tj|�S(N(R�tlistdir(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�&scC@st|j|j|�d�S(Ntrb(R
R�R�(RRR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR)scC@s&t|d��}|j�SWdQXdS(NR�(R
R�(RR�tstream((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�,scC@s)ttdtd��}t||�dS(NtSourceFileLoader(R�timportlib_machineryttypeRbR�(Rt
loader_cls((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt	_register0s	(
RRRR�R�R�RR�RMR�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s					cB@s<eZdZd�ZZd�Zd�ZdZd�Z	RS(s.Provider that returns nothing for all requestscC@stS(N(R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRd=RecC@sdS(NRe((RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRd>RecC@sgS(N((RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRd?RecC@sdS(N((R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRBsN(
RRRR�R�R�R�RbR�R(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�:s
		tZipManifestscB@s#eZdZed��ZeZRS(s
    zip manifest builder
    c@s?t|��-��fd��j�D�}t|�SWdQXdS(s
        Build a dictionary similar to the zipimport directory
        caches, except instead of tuples, store ZipInfo objects.

        Use a platform-specific path separator (os.sep) for the path keys
        for compatibility with pypy on Windows.
        c3@s3|])}|jdtj��j|�fVqdS(R�N(R1R�tseptgetinfo(RQR�(tzfile(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pys	<genexpr>YsN(tContextualZipFiletnamelistRM(RR�RS((R�s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytbuildNs	(RRRRMR�tload(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�IstMemoizedZipManifestscB@s)eZdZejdd�Zd�ZRS(s%
    Memoized zipfile manifests.
    tmanifest_modsmanifest mtimecC@svtjj|�}tj|�j}||ksC||j|krk|j|�}|j||�||<n||jS(sW
        Load a manifest at path or return a suitable manifest already loaded.
        (	R�R�tnormpathRtst_mtimetmtimeR�R�tmanifest(RR�R�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�js(RRRR*t
namedtupleR�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�dsR�cB@s)eZdZd�Zd�Zd�ZRS(sL
    Supplement ZipFile class to support context manager for Python 2.6
    cC@s|S(N((R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt	__enter__}scC@s|j�dS(N(tclose(RR�R�t	traceback((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__exit__�scO@s8ttjd�r"tj||�Stt|�j|�S(sI
        Construct a ZipFile or ContextualZipFile as appropriate
        R�(R�tzipfiletZipFileRR�t__new__(RRctkwargs((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s(RRRR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�xs		cB@s�eZdZdZe�Zd�Zd�Zd�Z	e
d��Zd�Ze
d��Zd�Zd�Zd	�Zd
�Zd�Zd�Zd
�Zd�Zd�ZRS(s"Resource support for zips and eggscC@s*tj||�|jjtj|_dS(N(R�RR�tarchiveR�R�tzip_pre(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@s@|j|j�r#|t|j�Std||jf��dS(Ns%s is not a subpath of %s(R5R�R�tAssertionError(Rtfspath((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_zipinfo_name�scC@sd|j|}|j|jtj�rG|t|j�djtj�Std||jf��dS(Nis%s is not a subpath of %s(R�R5R�R�R�R�RR�(Rtzip_pathR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_parts�s

!cC@s|jj|jj�S(N(t_zip_manifestsR�R�R�(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytzipinfo�scC@s�|jstd��n|j|�}|j�}dj|j|��|kr~x*|D]}|j||j|��qXWn|j||�S(Ns5resource_filename() only supported for .egg, not .zipR�(R�R�t_resource_to_zipt_get_eager_resourcesRlR�t_extract_resourcet
_eager_to_zip(RRRR�teagersR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s	
 cC@s/|j}|jd}tj|�}||fS(Nii����(iii����(t	file_sizet	date_timettimetmktime(tzip_stattsizeR�t	timestamp((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_get_date_and_size�s	
c
C@s�||j�kr^x9|j�|D]'}|j|tjj||��}q#Wtjj|�S|j|j|�\}}ts�t	d��ny(|j
|j|j|��}|j
||�r�|Stddtjj|��\}}	tj||jj|��tj|�t|	||f�|j|	|�yt|	|�Wnltjk
r�tjj|�r�|j
||�r�|Stjdkr�t|�t|	|�|Sn�nXWntjk
r�|j�nX|S(Ns>"os.rename" and "os.unlink" are not supported on this platforms	.$extracttdirR|(t_indexR�R�R�RlR�R�R�t
WRITE_SUPPORTtIOErrorR{R�R�t_is_currentt_mkstemptwriteR�R�R�RR�RterrortisfileR�R	Rt(
RRR�R�tlastR�R�t	real_pathtoutfttmpnam((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s@$


c	C@s�|j|j|�\}}tjj|�s2tStj|�}|j|ks_|j|krctS|j	j
|�}t|d��}|j�}WdQX||kS(sK
        Return True if the file_path is current for this zip_path
        R�N(
R�R�R�R�R�R�Rtst_sizeR�R�R�R
R�(	Rt	file_pathR�R�R�Rtzip_contentstft
file_contents((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@sa|jdkrZg}x6dD].}|j|�r|j|j|��qqW||_n|jS(Nsnative_libs.txtseager_resources.txt(snative_libs.txtseager_resources.txt(R�RbR�R0R�(RR�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s
cC@s�y|jSWn�tk
r�i}x~|jD]s}|jtj�}xX|r�tjj|d �}||kr�||j|d�PqF|j�g||<qFWq+W||_|SXdS(Ni����(	t	_dirindextAttributeErrorR�RR�R�RlR7R6(RtindR�R8tparent((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s
		cC@s.|j|�}||jkp-||j�kS(N(R�R�R�(RR�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�!scC@s|j|�|j�kS(N(R�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�%scC@s%t|j�j|j|�d��S(N((R(R�R>R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�(scC@s|j|j|j|��S(N(R�R�R�(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�+scC@s|j|j|j|��S(N(R�R�R�(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�.sN(RRRRbR�R�R�RR�R�R�R�RR�R�R�R�R�R�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s$					
	
		4								cB@s;eZdZd�Zd�Zd�Zd�Zd�ZRS(s*Metadata handler for standalone PKG-INFO files

    Usage::

        metadata = FileMetadata("/path/to/PKG-INFO")

    This provider rejects all data and metadata requests except for PKG-INFO,
    which is treated as existing, and will be the contents of the file at
    the provided location.
    cC@s
||_dS(N(R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRAscC@s|dkotjj|j�S(NsPKG-INFO(R�R�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�DscC@s_|dkrtd��ntj|jdddd��}|j�}WdQX|j|�|S(NsPKG-INFOs(No metadata except PKG-INFO is availabletencodingsutf-8terrorsR1(R�R�R
R�R�t_warn_on_replacement(RR�Rtmetadata((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�Gs!
cC@sGdjd�}||krCd}|jt��}tj|�ndS(Ns�sutf-8s2{self.path} could not be properly decoded in UTF-8(R�R�R�R?R@(RR
treplacement_charRrR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR	Ps
cC@st|j|��S(N(R�R�(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�Xs(RRRRR�R�R	R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�5s
					cB@seZdZd�ZRS(ssMetadata provider for egg directories

    Usage::

        # Development eggs:

        egg_info = "/path/to/PackageName.egg-info"
        base_dir = os.path.dirname(egg_info)
        metadata = PathMetadata(base_dir, egg_info)
        dist_name = os.path.splitext(os.path.basename(egg_info))[0]
        dist = Distribution(basedir, project_name=dist_name, metadata=metadata)

        # Unpacked egg directories:

        egg_path = "/path/to/PackageName-ver-pyver-etc.egg"
        metadata = PathMetadata(egg_path, os.path.join(egg_path,'EGG-INFO'))
        dist = Distribution.from_filename(egg_path, metadata=metadata)
    cC@s||_||_dS(N(R�R�(RR�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRps	(RRRR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�\scB@seZdZd�ZRS(s Metadata provider for .egg filescC@s`|jtj|_||_|jrFtjj|j|j�|_n|j|_|j	�dS(s-Create a metadata provider from a zipimporterN(
R�R�R�R�R�tprefixR�RlR�R�(Rtimporter((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRxs		!(RRRR(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�usRMt_distribution_finderscC@s|t|<dS(sxRegister `distribution_finder` to find distributions in sys.path items

    `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
    handler), and `distribution_finder` is a callable that, passed a path
    item and the importer instance, yields ``Distribution`` instances found on
    that path item.  See ``pkg_resources.find_on_path`` for an example.N(R(t
importer_typetdistribution_finder((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s+t|�}tt|�}||||�S(s.Yield distributions accessible via `path_item`(RR�R(t	path_itemtonlyR
tfinder((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scc@s|jjd�rdSt|�}|jd�rHtj|d|�Vn|rRdSx�|jd�D]�}t|�r�tj	j
||�}x�ttj
|�|�D]}|Vq�Wqb|j�jd�rbtj	j
||�}ttj
|��}||_tj|||�VqbqbWdS(s@
    Find eggs in zip files; possibly multiple nested eggs.
    s.whlNsPKG-INFOR
R�s
.dist-info(R�tendswithR�R�R�t
from_filenameR~R�R�R�Rltfind_eggs_in_zipt	zipimporttzipimporterR4R�t
from_location(R
RRR
tsubitemtsubpathR�tsubmeta((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s"	cC@sdS(N(((R
RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytfind_nothing�scC@sd�}t|d|dt�S(sL
    Given a list of filenames, return them in descending order
    by version number.

    >>> names = 'bar', 'foo', 'Python-2.7.10.egg', 'Python-2.7.2.egg'
    >>> _by_version_descending(names)
    ['Python-2.7.10.egg', 'Python-2.7.2.egg', 'foo', 'bar']
    >>> names = 'Setuptools-1.2.3b1.egg', 'Setuptools-1.2.3.egg'
    >>> _by_version_descending(names)
    ['Setuptools-1.2.3.egg', 'Setuptools-1.2.3b1.egg']
    >>> names = 'Setuptools-1.2.3b1.egg', 'Setuptools-1.2.3.post1.egg'
    >>> _by_version_descending(names)
    ['Setuptools-1.2.3.post1.egg', 'Setuptools-1.2.3b1.egg']
    cS@sYtjj|�\}}tj|jd�|g�}g|D]}tjj|�^q=S(s6
        Parse each component of the filename
        R&(	R�R�tsplitextt	itertoolstchainRRRFR�(R�textR8R/((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_by_version�sR!R](tsortedR�(RxR"((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_by_version_descending�s	cc@s9t|�}tjj|�r5tj|tj�r5t|�rntj|dt	|tjj
|d���Vq5ttj|��}x�|D]�}|j
�}|jd�s�|jd�r=tjj
||�}tjj|�rttj|��dkrq�nt	||�}nt|�}tj|||dt�Vq�|r�t|�r�ttjj
||��}x�|D]}	|	VqrWq�|r�|jd�r�ttjj
||���}
|
j�}WdQXxa|D]V}|j�s�q�ntjj
||j��}
t|
�}x|D]}|VqWPq�Wq�q�WndS(	s6Yield distributions accessible on a sys.path directoryR
sEGG-INFOs	.egg-infos
.dist-infoit
precedences	.egg-linkN(t_normalize_cachedR�R�RtaccesstR_OKt_is_unpacked_eggR�RR�RlR$R�R4RR�R�RR�R�R�R
t	readlineststriptrstrip(R
RRtpath_item_entriesRR4tfullpathR
RR�t
entry_filetentry_linestlineR�R!((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytfind_on_path�sB'	 



	t
FileFindert_namespace_handlerst_namespace_packagescC@s|t|<dS(s�Register `namespace_handler` to declare namespace packages

    `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item
    handler), and `namespace_handler` is a callable like this::

        def namespace_handler(importer, path_entry, moduleName, module):
            # return a path_entry to use for child packages

    Namespace handlers are only called if the importer object has already
    agreed that it can handle the relevant path item, and they should only
    return a subpath if the module __path__ does not already contain an
    equivalent subpath.  For an example namespace handler, see
    ``pkg_resources.file_ns_handler``.
    N(R4(Rtnamespace_handler((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�scC@st|�}|dkrdS|j|�}|dkr;dStjj|�}|dkr�tj|�}tj|<g|_t	|�n!t
|d�s�td|��ntt
|�}|||||�}|dk	r|j}|j|�|j|�t|||�n|S(sEEnsure that named package includes a subpath of path_item (if needed)t__path__sNot a package:N(RRbtfind_moduleRjR�R>ttypest
ModuleTypeR7t_set_parent_nsR�R�R�R4R7tload_modulet_rebuild_mod_path(tpackageNameRR
R�R�thandlerRR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_handle_ns s*	
	

c@s�gtjD]}t|�^q
��fd����fd�}t|t�sVdS|jd|�g|D]}t|�^qm|j(dS(sq
    Rebuild module.__path__ ensuring that all entries are ordered
    corresponding to their sys.path order
    c@s0y�j|�SWntk
r+td�SXdS(s/
        Workaround for #520 and #513.
        tinfN(tindexRotfloat(R(tsys_path(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytsafe_sys_path_indexAs
c@sL|jtj�}�jd�d}|| }�ttjj|���S(sR
        Return the ordinal of the path based on its position in sys.path
        R*i(RR�R�tcountR&Rl(R�t
path_partstmodule_partsR8(tpackage_nameRE(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytposition_in_sys_pathJsNR!(RjR�R&RR(R=R7(t	orig_pathRIR�tpRJ((RIRERDs�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR=:s"		cC@stj�z�|tkrdStjd}}d|kr�dj|jd�d �}t|�|tkrxt	|�nytj
|j}Wq�tk
r�t
d|��q�Xntj|g�j|�tj|g�x|D]}t||�q�WWdtj�XdS(s9Declare that package 'packageName' is a namespace packageNR*i����sNot a package:(t_imptacquire_lockR5RjR�RbRlRR�R�R�R7RR�RR7R@trelease_lock(R>R�RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�[s&




cC@sbtj�zFx?tj|d�D]+}t||�}|r t||�q q WWdtj�XdS(sDEnsure that previously-declared namespace packages include path_itemN((RMRNR5R>R@R�RO(RRtpackageR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�|s
cC@s`tjj||jd�d�}t|�}x+|jD]}t|�|kr8Pq8q8W|SdS(sBCompute an ns-package subpath for a filesystem or zipfile importerR*i����N(R�R�RlRR&R7(R
RR>R�Rt
normalizedR!((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytfile_ns_handler�s"cC@sdS(N(Rb(R
RR>R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytnull_ns_handler�scC@stjjtjj|��S(s1Normalize a file/dir name for comparison purposes(R�R�tnormcasetrealpath(R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s9y||SWn&tk
r4t|�||<}|SXdS(N(R�R�(R�R�tresult((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR&�s

cC@s|j�jd�S(s7
    Determine if given path appears to be an egg.
    s.egg(R4R(R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s.t|�o-tjjtjj|dd��S(s@
    Determine if given path appears to be an unpacked egg.
    sEGG-INFOsPKG-INFO(R�R�R�R�Rl(R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR)�scC@sU|jd�}|j�}|rQdj|�}ttj||tj|�ndS(NR*(RR6RltsetattrRjR�(R>R8R�R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR;�s
cc@s�t|tj�rVxn|j�D]0}|j�}|r|jd�r|VqqWn-x*|D]"}xt|�D]}|VqpWq]WdS(s9Yield non-empty/non-comment lines of a string or sequencet#N(RRR�t
splitlinesR+R5R�(tstrsR.tss((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s
s\w+(\.\w+)*$s�
    (?P<name>[^-]+) (
        -(?P<ver>[^-]+) (
            -py(?P<pyver>[^-]+) (
                -(?P<plat>.+)
            )?
        )?
    )?
    cB@s�eZdZdd
dd�Zd�Zd�Zed�Zd�Z	ddd�Z
ejd�Z
edd��Zed	��Zedd
��Zedd��ZRS(s3Object representing an advertised importable objectcC@snt|�std|��n||_||_t|�|_tjddj|��j	|_	||_
dS(NsInvalid module namesx[%s]t,(tMODULERoR�tmodule_nameRtattrsR�R�RlR/R�(RR�R^R_R/R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s		"cC@sfd|j|jf}|jr<|ddj|j�7}n|jrb|ddj|j�7}n|S(Ns%s = %st:R*s [%s]R\(R�R^R_RlR/(RR.((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s		cC@sdt|�S(NsEntryPoint.parse(%r)(RB(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scO@sO|s|s|r,tjdtdd�n|rE|j||�n|j�S(sH
        Require packages for this EntryPoint, then resolve it.
        sJParameters to load are deprecated.  Call .resolve and .require separately.R:i(R?R@tDeprecationWarningRsR(RRsRcR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s
cC@sdt|jddgdd�}ytjt|j|�SWn%tk
r_}tt|���nXdS(sD
        Resolve the entry point from its module and attrs.
        tfromlistRtleveliN(	R�R^t	functoolstreduceR�R_RR�RB(RR�texc((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR	s
cC@sr|jr%|jr%td|��n|jj|j�}tj|||d|j�}tttj|��dS(Ns&Can't require() without a distributionR/(	R/R�R�RR�RR(RR(RR3R4RRS((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRs	s
s]\s*(?P<name>.+?)\s*=\s*(?P<module>[\w.]+)\s*(:\s*(?P<attr>[\w.]+))?\s*(?P<extras>\[.*\])?\s*$cC@s�|jj|�}|s0d}t||��n|j�}|j|d�}|drl|djd�nd}||d|d|||�S(sParse a single entry point from string `src`

        Entry point syntax follows the form::

            name = some.module:some.attr [extra1, extra2]

        The entry name and module name are required, but the ``:attrs`` and
        ``[extras]`` parts are optional
        s9EntryPoint must be in 'name=module:attrs [extras]' formatR/tattrR*R�R�((tpatternRiRot	groupdictt
_parse_extrasR(RtsrcR�RqR�tresR/R_((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�.	s#cC@s9|s
dStjd|�}|jr2t��n|jS(Ntx((R�R�tspecsRoR/(Rtextras_specR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRjB	s	cC@s�t|�std|��ni}xZt|�D]L}|j||�}|j|krptd||j��n|||j<q1W|S(sParse an entry point groupsInvalid group namesDuplicate entry point(R]RoR�R�R�(RRntlinesR�tthisR1R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytparse_groupK	scC@s�t|t�r|j�}nt|�}i}x~|D]v\}}|dkrj|s[q7ntd��n|j�}||kr�td|��n|j|||�||<q7W|S(s!Parse a map of entry point groupss%Entry points must be listed in groupssDuplicate group nameN(RRMRSR�RbRoR+Rr(RtdataR�tmapsRnRp((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt	parse_mapX	s((N(RRRRbRR�R�R�R�RRsR;R<RhRMR�RjRrRu(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s 				

		cC@sK|s
dStjj|�}|djd�rGtjj|d d�S|S(NRei����smd5=(Re(RR�turlparseR5t
urlunparse(R#tparsed((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_remove_md5_fragmentl	scC@s[d�}t||�}tt|�d�}|jd�\}}}t|j��pZdS(s�
    Given an iterable of lines from a Metadata file, return
    the value of the Version field, if present, or None otherwise.
    cS@s|j�jd�S(Nsversion:(R4R5(R1((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRdz	ReReR`N(Rtnexttitert	partitionR�R+Rb(Rptis_version_linet
version_linesR1R�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_version_from_fileu	s
	cB@s�eZdZdZd#d#d#d#ed#ed�Zed#d��Z	d�Z
ed��Zd�Z
d�Zd�Zd	�Zd
�Zd�Zd�Zed
��Zed��Zd�Zed��Zed��Zd$d�Zd�Zd#ed�Zd�Zd�Zd�Zd�Z ed#d��Z!d�Z"d�Z#d#d�Z$d�Z%d#ed�Z&d�Z'd �Z(d!�Z)ed"��Z*RS(%s5Wrap an actual or potential sys.path entry w/metadatasPKG-INFOcC@sjt|pd�|_|dk	r3t|�|_n||_||_||_||_|p`t	|_
dS(NtUnknown(R�R1RbR�t_versionRXRkR#R%R�t	_provider(RR#R
R1RFRXRkR%((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�	s				cK@s�dgd\}}}}tjj|�\}}	|	j�tkr�t|	j�}t|�}
|
r�|
jdddd�\}}}}q�n|||d|d|d|d	||�j�S(
NiR�tvertpyverRpR1RFRXRk(	RbR�R�RR4t_distributionImpltEGG_NAMERnt_reload_version(RR#R�R
RPR1RFRXRkR!Ri((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�	s$cC@s|S(N((R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��	scC@s:|j|j|jt|j�|jp*d|jp6dfS(NRe(tparsed_versionR%R!RyR#RXRk(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR\�	scC@s
t|j�S(N(thashR\(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�	scC@s|j|jkS(N(R\(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�	scC@s|j|jkS(N(R\(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�	scC@s|j|jkS(N(R\(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�	scC@s|j|jkS(N(R\(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�	scC@s&t||j�stS|j|jkS(N(RR�R�R\(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�	scC@s||kS(N((RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR �	scC@s:y|jSWn(tk
r5|jj�|_}|SXdS(N(t_keyRR1R4(RR!((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR!�	s

cC@s+t|d�s$t|j�|_n|jS(Nt_parsed_version(R�RIRFR�(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��	scC@sytjj}t|j|�}|s(dS|js5dStjd�j�jdd�}t	j
|jt|��t
�dS(Ns>
            '{project_name} ({version})' is being parsed as a legacy,
            non PEP 440,
            version. You may find odd behavior and sort order.
            In particular it will be sorted as less than 0.0. It
            is recommended to migrate to PEP 440 compatible
            versions.
            s
R�(RRFt
LegacyVersionRR�RlRmR+R1R?R@R�tvarsR(RtLVt	is_legacyRr((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_warn_legacy_version�	s	cC@sgy|jSWnUtk
rbt|j|j��}|dkr^d}t||j|��n|SXdS(Ns(Missing 'Version:' header and/or %s file(R�RRt
_get_metadatatPKG_INFORbRo(RRFRr((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRF�	s
cC@s�y|jSWn�tk
r�igd6}|_x�dD]�}x�t|j|��D]�\}}|r�d|kr�|jdd�\}}t|�r�g}q�t|�s�g}q�nt|�p�d}n|j	|g�j
t|��qRWq6W|SXdS(Nsrequires.txtsdepends.txtR`i(srequires.txtsdepends.txt(t_Distribution__dep_mapRRbR�R�RR�R�R�RR0R�(RtdmR�RNRRO((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_dep_map
s 

"	'cC@s�|j}g}|j|jdd��xS|D]K}y|j|t|��Wq/tk
rytd||f��q/Xq/W|S(s@List of Requirements needed for this distro if `extras` are useds%s has no such extra feature %rN((R�R0R>RbR�R�R�(RR/R�tdepsR!((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR
s	

cc@s5|j|�r1x|j|�D]}|VqWndS(N(R�R�(RR�R1((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�"
scC@s�|dkrtj}n|j|d|�|tjkr�t|j�x6|jd�D]"}|tjkrWt|�qWqWWndS(s>Ensure distribution is importable on `path` (default=sys.path)R1snamespace_packages.txtN(	RbRjR�R"R�R#R�R�R�(RR�R1tpkg((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytactivate'
s
cC@sOdt|j�t|j�|jp'tf}|jrK|d|j7}n|S(s@Return what this distribution's standard .egg filename should bes
%s-%s-py%sR&(R�R1RFRXRgRk(RR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�2
s	cC@s(|jrd||jfSt|�SdS(Ns%s (%s)(R#RB(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�=
s	cC@sMyt|dd�}Wntk
r/d}nX|p9d}d|j|fS(NRFs[unknown version]s%s %s(R�RbRoR1(RRF((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�C
s

cC@s.|jd�rt|��nt|j|�S(sADelegate all unrecognized public attributes to .metadata providerR�(R5RR�R�(RRg((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt__getattr__K
scK@s(|jt|�tjj|�||�S(N(RR&R�R�R�(RR�R
RP((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRQ
scC@sTt|jtjj�r1d|j|jf}nd|j|jf}tj|�S(s?Return a ``Requirement`` that matches this distribution exactlys%s==%ss%s===%s(RR�RRFR�R1R�R�(Rtspec((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR>X
scC@sD|j||�}|dkr:td||ff��n|j�S(s=Return the `name` entry point of `group` or raise ImportErrorsEntry point %r not foundN(RyRbR�R�(RRnR�R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRwa
scC@scy
|j}Wn3tk
rBtj|jd�|�}|_nX|dk	r_|j|i�S|S(s=Return the entry point map for `group`, or the full entry mapsentry_points.txtN(t_ep_mapRR�RuR�RbR>(RRntep_map((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRxh
s

 cC@s|j|�j|�S(s<Return the EntryPoint object for `group`+`name`, or ``None``(RxR>(RRnR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRyt
sc
C@s�|p|j}|sdSt|�}tjj|�}g|D]}|rVt|�pY|^q>}x�t|�D]�\}}||kr�|r�PqdSqo||kro|jtkro|r�|||kr�dS|tjkr�|j	�n|j
||�|j
||�PqoqoW|tjkr.|j	�n|rG|j
d|�n
|j|�dSxMtr�y|j
||d�}	Wntk
r�Pq[X||	=||	=|	}q[WdS(s�Ensure self.location is on path

        If replace=False (default):
            - If location is already in path anywhere, do nothing.
            - Else:
              - If it's an egg and its parent directory is on path,
                insert just ahead of the parent.
              - Else: add to the end of path.
        If replace=True:
            - If location is already on path anywhere (not eggs)
              or higher priority than its parent (eggs)
              do nothing.
            - Else:
              - If it's an egg and its parent directory is on path,
                insert just ahead of the parent,
                removing any lower-priority entries.
              - Else: add it to the front of path.
        Nii(R#R&R�R�R�t	enumerateR%R�Rjtcheck_version_conflictR%R7R�RBRo(
RR�tlocR1tnloctbdirRLtnpathR!tnp((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR"x
sB+


	

cC@s�|jdkrdStj|jd��}t|j�}x�|jd�D]�}|tjksJ||ksJ|tkr}qJn|dkr�qJnt	tj|dd�}|r�t|�j|�sJ|j|j�r�qJntd|||jf�qJWdS(	Nt
setuptoolssnamespace_packages.txts
top_level.txtt
pkg_resourcestsiteR�sIModule %s was already imported from %s, but %s is being added to sys.path(R�R�R�(
R!RMRNR�R�R#RjR�R5R�RbR5t
issue_warning(RtnspR�tmodnametfn((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��
s"cC@s8y|jWn&tk
r3tdt|��tSXtS(NsUnbuilt egg for (RFRoR�R�R�R�(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR^�
s
cK@sYd}x0|j�D]"}|j|t||d��qW|jd|j�|j|�S(s@Copy this distribution, substituting in any changed keyword argss<project_name version py_version platform location precedenceR
N(RRR�RbR�R�(RRPRxRg((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytclone�
s
 cC@s g|jD]}|r
|^q
S(N(R�(Rtdep((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR/�
sN((+RRRR�RbRgR�RRMRR�R�R\RRRRRRR R!R�R�RFR�RR�R�R�R�R�R�R�RR>RwRxRyR"R�R^R�R/(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��	sN		
																		C			tEggInfoDistributioncB@seZd�ZRS(cC@s.t|j|j��}|r*||_n|S(s�
        Packages installed by distutils (e.g. numpy or scipy),
        which uses an old safe_version, and so
        their version numbers can get mangled when
        converted to filenames (e.g., 1.11.0.dev0+2329eae to
        1.11.0.dev0_2329eae). These distributions will not be
        parsed properly
        downstream by Distribution and safe_version, so
        take an extra step and try to get the version number from
        the metadata file itself instead of the filename.
        (RR�R�R�(Rt
md_version((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��
s(RRR�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��
stDistInfoDistributioncB@sJeZdZdZejd�Zed��Zed��Z	d�Z
RS(sGWrap an actual or potential sys.path entry w/metadata, .dist-info styletMETADATAs([\(,])\s*(\d.*?)\s*([,\)])cC@sTy|jSWnBtk
rO|j|j�}tjj�j|�|_|jSXdS(sParse and cache metadataN(t	_pkg_infoRR�R�temailtparsertParsertparsestr(RR
((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_parsed_pkg_info�
s
cC@s6y|jSWn$tk
r1|j�|_|jSXdS(N(t_DistInfoDistribution__dep_mapRt_compute_dependencies(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s

c@s�igd6}|_g�x3|jjd�p2gD]}�jt|��q3W�fd�}t|d��}|dj|�xR|jjd�p�gD]8}t|j��}t	t||��|�||<q�W|S(s+Recompute this distribution's dependencies.s
Requires-Distc3@s@x9�D]1}|js0|jji|d6�r|VqqWdS(NRN(RORP(RNR�(R(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pytreqs_for_extras
#sProvides-ExtraN(
RbR�R�tget_allR0R�t	frozensetR�R+R((RR�R�R�tcommonRNts_extra((Rs�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�s$(RRRR�R;R<tEQEQR�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��
s
s.eggs	.egg-infos
.dist-infocO@snd}t�}y-x&tj|�j|kr:|d7}qWWntk
rOnXtjd|d||�dS(NiR:(RJRjR�R�RoR?R@(RcRPRcRU((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�/s	
tRequirementParseErrorcB@seZd�ZRS(cC@sdj|j�S(NR�(RlRc(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�=s(RRR�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�<scc@s�tt|��}xm|D]e}d|krA||jd� }n|jd�rs|d j�}|t|�7}nt|�VqWdS(s�Yield ``Requirement`` objects for each specification in `strs`

    `strs` must be a string, or a (possibly-nested) iterable thereof.
    s #s\i����N(R{R�R�RR+RzR�(RZRpR1((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�As
cB@sMeZd�Zd�Zd�Zd�Zd�Zd�Zed��Z	RS(cC@sytt|�j|�Wn+tjjk
rG}tt|���nX|j|_	t
|j�}||j�|_|_
g|jD]}|j|jf^q�|_ttt|j��|_|j
|jt|j�|jr�t|j�ndf|_t|j�|_dS(s>DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!N(RR�RRR2tInvalidRequirementR�RBR�tunsafe_nameR�R4R1R!t	specifierR_RFRnRRR�R/R�RORbthashCmpR�t_Requirement__hash(Rtrequirement_stringR�R1R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRUs+$cC@st|t�o|j|jkS(N(RR�R�(RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRiscC@s||kS(N((RR((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR oscC@sGt|t�r1|j|jkr%tS|j}n|jj|dt�S(Ntprereleases(RR�R!R�RFR�tcontainsR�(RR!((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRrs
cC@s|jS(N(R�(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR~scC@sdt|�S(NsRequirement.parse(%r)(RB(R((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��RecC@st|�\}|S(N(R�(R.R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s(
RRRRR RRR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR�Ts						cC@st|kr|tfS|S(sJ
    Ensure object appears in the mro even
    for old-style classes.
    (tobject(tclasses((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_always_object�scC@sPttjt|dt|����}x"|D]}||kr.||Sq.WdS(s2Return an adapter factory for `ob` from `registry`R�N(R�tinspecttgetmroR�R�(tregistryR^R9tt((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s'
cC@s)tjj|�}tj|dt�dS(s1Ensure that the parent directory of `path` existstexist_okN(R�R�R�R
tmakedirsR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��scC@s^tstd��nt|�\}}|rZ|rZt|�rZt|�t|d�ndS(s/Sandbox-bypassing version of ensure_directory()s*"os.mkdir" not supported on this platform.i�N(R�R�RRRuR(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRu�s
cc@s�d}g}x�t|�D]y}|jd�r�|jd�rs|sI|rW||fVn|dd!j�}g}q�td|��q|j|�qW||fVdS(ssSplit a string or iterable thereof into (section, content) pairs

    Each ``section`` is a stripped version of the section header ("[section]")
    and each ``content`` is a list of stripped lines excluding blank lines and
    comment-only lines.  If there are any such lines before the first section
    header, they're returned in a first ``section`` of ``None``.
    t[t]ii����sInvalid section headingN(RbR�R5RR+RoR7(R.tsectiontcontentR1((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s	cO@s7tj}ztt_tj||�SWd|t_XdS(N(R�R
tos_openttempfiletmkstemp(RcRPtold_open((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyR��s
		tignoretcategoryR7cO@s|||�|S(N((RRcR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_call_aside�s
c@s:t���|d<|j�fd�t��D��dS(s=Set up global resource manager (deliberately not state-saved)t_managerc3@s3|])}|jd�s|t�|�fVqdS(R�N(R5R�(RQR�(R(s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pys	<genexpr>�sN(R�RKR�(RU((Rs�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_initialize�s
	
cC@s�tj�}tdd|�|j}|j}|j}|j}|}td�|D��|d�dt�g|_	t
t|jt
j��t�jt��dS(sE
    Prepare the master working set and make the ``require()``
    API available.

    This function has explicit effects on the global state
    of pkg_resources. It is intended to be invoked once at
    the initialization of this module.

    Invocation by other packages is unsupported and done
    at their own risk.
    R�R�cs@s!|]}|jdt�VqdS(R1N(R�R�(RQR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pys	<genexpr>scS@s|jdt�S(NR1(R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyRdReRJN(R�RRQRsRzRKRtRR�R	R(RR
RjR�RJRKR�(R�RsRzR�RtR�((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt_initialize_master_working_set�s
					(�Rt
__future__RRjR�R�R�R;R9R�RR?RRdtpkgutilR_RkR*R�temail.parserR�R�RlRR�RRMR�timptpkg_resources.externRtpkg_resources.extern.six.movesRRRRRRR	R�R�R�R
R�tos.pathRRtimportlib.machineryt	machineryR�RRbReR
RRR�tversion_infotRuntimeErrorRsR�RARR�RRFR�RDR�RERIRLRQRWRYR\R_R`Rat
_sget_nonet
_sset_noneRrt__all__t	ExceptionR�R�R�R�R�R�RgR�R�R�R�R�R�RuRmR�RgR<RhR�R�R�RtR�RvRwRxRyR�R�R�RMR)R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RR�R�R�R�R�RRR$R2tImpImporterR�R3R�R@R=R�R�RRRSR�R&R�R)R;R�RiR]R=t
IGNORECASER�R�RyRR�R�R�R�R�RoR�R�R2R�R�R�R�RuR�R�tfilterwarningsR�RJR�R�(((s�/builddir/build/BUILDROOT/alt-python27-setuptools-36.3.0-4.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pkg_resources/__init__.pyt<module>s�









+b								
											 

	
	
			.	
			����							a

	�'	

	.			!	!	
	
				
			�			�f/
	
	5	
			
			

?>