Your IP : 3.145.196.141


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

�
�RecG@@sMdZddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZyddlZWnek
ruddlZnXye Wne!k
r�e"Z nXddl#m$Z$ddl%m&Z&m'Z'm(Z(ddlm)Z)y&ddlm*Z*m+Z+m,Z,e-Z.Wnek
re/Z.nXdd	lm0Z1dd
l2m3Z3m4Z4yddl5j6Z7e7j8Wnek
rme9Z7nXddl:m;Z;dd
l#m<Z<ddl#m=Z=e>d�e>d�e>d�e>d�e?Z@ddfejAko�ddfknreBd��ne$jCre9ZDe9ZEne9ZFe9ZGe9ZHe9ZIe9ZJe9ZKe9ZLe9ZMe9ZNe9ZOe9ZPe9ZQe9ZRe9ZSe9ZTe9ZUe9ZVdeWfd��YZXd�ZYiZZd�Z[d�Z\d�Z]d�Z^d�Z_d�Z`d�Zad �ZbZcd!�Zdd"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAddBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdggGZed=effdh��YZgd>egfdi��YZhdjehfdk��YZid?egfdl��YZjd@egfdm��YZkiZldnjmejA�ZndZodoZpdZqdZrdpZsdq�Ztdr�Zugds�Zvdt�Zwdu�Zxejydv�Zzejydw�Z{exZ|dx�Z}dy�Z~e~Zdz�Z�d{�Z�e9d|�Z�d}�Z�dUfd~��YZ�dVe�fd��YZ�d8fd���YZ�d�e�fd���YZ�d7fd���YZ�e�Z�dAeBfd���YZ�d9fd���YZ�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�e9d��Z�d\fd���YZ�ete�e��d]e�fd���YZ�d^e�fd���YZ�e�j��dZe�fd���YZ�e��Z�d�e�fd���YZ�d�e�fd���YZ�d_e�fd���YZ�ete
j�e��dWe�fd���YZ�dXe�fd���YZ�dYe�fd���YZ�e[d�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�d��Z�d�fd���YZ�d��Z�d��Z�d��Z�d��Z�e�ej�e��e�e7d��r�e�e7j�e��ne[d�d�i�e[d�d�i�d��Z�d��Z�d��Z�d��Z�e9d��Z�d��Z�e�ej�e��e�e
j�e��e�e7d��rk	e�e7j�e��nd��Z�e�e�e��d��Z�d��Z�id��Z�d��Z�d��Z�d��Z�d��Z�ejyd��j�Z�ejyd�ej�ej�B�j�Z�d<fd���YZ�d��Z�d��Z�d: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;e=j�j�fd���YZ�d��Z�d��Z�d��Z�d��Z�d��Z�d��Z�ej�d�d�eXd�e-�d��Z�e�e��d���Z�e�d���Z�dee�fd���YZ�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	packagingspip._vendor.packaging.versions pip._vendor.packaging.specifierss"pip._vendor.packaging.requirementsspip._vendor.packaging.markersiisPython 3.5 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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRxscC@s?ytjj|�SWn$tjjk
r:tjj|�SXdS(N(RtversiontVersiontInvalidVersiont
LegacyVersion(tv((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt
parse_versionscK@s-t�j|�tjtj||��dS(N(tglobalstupdatet_state_varstdicttfromkeys(tvartypetkw((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_declare_state�scC@sLi}t�}x6tj�D](\}}|d|||�||<qW|S(Nt_sget_(RRtitems(tstatetgtkR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__getstate__�s
	 cC@sJt�}x:|j�D],\}}|dt|||||�qW|S(Nt_sset_(RR#R(R$R%R&R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__setstate__�s	$cC@s
|j�S(N(tcopy(tval((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt
_sget_dict�scC@s|j�|j|�dS(N(tclearR(tkeytobR$((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt
_sset_dict�s
cC@s
|j�S(N(R'(R+((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_sget_object�scC@s|j|�dS(N(R)(R.R/R$((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_sset_object�scG@sdS(N(tNone(targs((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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-%st.iiN(
tget_build_platformtmacosVersionStringtmatchR3tsystplatformtjoint_macosx_verstgroupt
ValueError(tplattm((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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_requirementsRt	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_packagesRtPkgResourcesDeprecationWarningtrun_maintAvailableDistributionscB@seZdZd�ZRS(s.Abstract base for dependency resolution errorscC@s|jjt|j�S(N(t	__class__RtreprR4(tself((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__repr__�s(RRRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR`�scB@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(R4(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytdistscC@s|jdS(Ni(R4(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytreqscC@s|jjt��S(N(t	_templatetformattlocals(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytreportscC@s$|s
|S|j|f}t|�S(st
        If required_by is non-empty, return a version of self that is a
        ContextualVersionConflict.
        (R4tContextualVersionConflict(R�trequired_byR4((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytwith_contexts(	RRRR�tpropertyR�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRas	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(R4(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�*s(RRRRaR�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�"s
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(R4(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�5scC@s|jdS(Ni(R4(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt	requirers9scC@s|js
dSdj|j�S(Nsthe applications, (R�R>(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt
requirers_str=s	cC@s|jjt��S(N(R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�CscC@s
|j�S(N(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__str__Fs(
RRRR�R�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRb/s	cB@seZdZRS(s>Distribution doesn't have an "extra feature" of the given name(RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRcJss{}.{}ii����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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�XscC@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(t
isinstanceR^RTtfindREtstrR<tmodulestKeyErrort
__import__tgetattrR3t
_find_adapterR�(tmoduleOrReqtmoduletloader((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRGbs#

cC@s�|s�tj�d}|dkrzd}tjj|�rzttd�rwtj|�}d|krt|d}qtqwqzn|j|j	d��n|dS(NiR6s0/System/Library/CoreServices/SystemVersion.plistt	readPlisttProductVersionR8(
R=tmac_vertostpathtexiststhasattrtplistlibR�tappendR(t_cacheRtplistt
plist_content((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR?oscC@sidd6dd6j||�S(NtppctPowerPCtPower_Macintosh(tget(tmachine((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_macosx_archscC@s�ddlm}|�}tjdkr�|jd�r�yTt�}tj�djdd�}dt	|d�t	|d	�t
|�fSWq�tk
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(RhR7smacosx-it t_smacosx-%d.%d-%si(t	sysconfigRhR<R=t
startswithR?R�tunametreplacetintR�RA(RhRBRR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR9�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(R3tTrueR:R;tdarwinVersionStringR�R@tFalse(tprovidedtrequiredtreqMactprovMact
provDarwintdversiontmacosversion((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRi�s*$"*cC@sNtjd�j}|d}|j�||d<t|�dj||�dS(s@Locate distribution `dist_spec` and run its `script_name` scriptiRiN(R<t	_getframet	f_globalsR-RERF(t	dist_spectscript_nametnstname((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRF�s



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(R�Rtstring_typesR^tparseRGR]t	TypeError(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRH�scC@st|�j||�S(sDReturn `name` entry point of `group` for `dist` or raise ImportError(RHRI(R�R@R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRI�scC@st|�j|�S(s=Return the entry point map for `group`, or the full entry map(RHRJ(R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRJ�scC@st|�j||�S(s<Return the EntryPoint object for `group`+`name`, or ``None``(RHRK(R�R@R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRK�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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pythas_metadata�R6cC@sdS(s'The named metadata resource as a stringN((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_metadata�R6cC@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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_metadata_lines�R6cC@sdS(s>Is the named metadata a directory?  (like ``os.path.isdir()``)N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytmetadata_isdirR6cC@sdS(s?List of metadata names in the directory (like ``os.listdir()``)N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytmetadata_listdirR6cC@sdS(s=Execute the named script in the supplied namespace dictionaryN((R�t	namespace((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRF	R6(RRR�R�R�R�R�RF(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRw�s					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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_resource_filenameR6cC@sdS(siReturn a readable file-like object for `resource_name`

        `manager` must be an ``IResourceManager``N((R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_resource_streamR6cC@sdS(smReturn a string containing the contents of `resource_name`

        `manager` must be an ``IResourceManager``N((R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytget_resource_stringR6cC@sdS(s,Does the package contain the named resource?N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pythas_resourceR6cC@sdS(s>Is the named resource a directory?  (like ``os.path.isdir()``)N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRR"R6cC@sdS(s?List of resource names in the directory (like ``os.listdir()``)N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRP%R6(	RRRR�R�R�R�RRRP(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRx
s					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	callbacksR3R<R�t	add_entry(R�R�tentry((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__init__,s				
cC@se|�}yddlm}Wntk
r1|SXy|j|�Wntk
r`|j|�SX|S(s1
        Prepare the master working set.
        i(t__requires__(t__main__R�tImportErrorRERat_build_from_requirements(tclstwsR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt
_build_master9s	

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.
        (RetresolveRZtaddR<R�R�R�(R�treq_specR�treqstdistsR�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�Ms

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�R�RVR�R�R�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�cs
cC@s|jj|j�|kS(s9True if `dist` is the active distribution for its project(R�R�R.(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__contains__rscC@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(R�R�R.R3Ra(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�vs
c@s��fd�|D�S(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).
        c3@sL|]B}|j��j�D]&}�dks=�|jkr|VqqdS(N(RJtvaluesR3R�(t.0R�R�(R@R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys	<genexpr>�s((R�R@R�((R@R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRL�scC@sQtjd�j}|d}|j�||d<|j|�dj||�dS(s?Locate distribution for `requires` and run `script_name` scriptiRiN(R<R�R�R-RERF(R�trequiresR�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRF�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�(R�tseentitemR.((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__iter__�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.
        R�N(
t	insert_onR�R3tlocationR�R�R.R�R�t
_added_new(R�R�R�tinsertR�tkeystkeys2((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�||krz|rz|}
|dkr!|dkrt|j�}q!tg�}t
g�}
n|j||
|d|�}||j<|dkrz|
j|d�}t||��qzn|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����itreplace_conflicting(tlistt
_ReqExtrastcollectionstdefaultdicttsettpoptmarkers_passR�R.R3R�RZR�R[t
best_matchRbR�RaR�R�textrastextendR�tproject_nameR�(R�trequirementstenvt	installerRRt	processedtbesttto_activatet
req_extrasR�R�R�R�R�t
dependent_reqtnew_requirementstnew_requirement((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��sN		


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(RtsortR3RZR�R�RR�tas_requirementR�R`RRR(R�t
plugin_envtfull_envRtfallbacktplugin_projectst
error_infot
distributionsRt
shadow_setR
R�R�t	resolveesR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytfind_plugins's4$




	
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.
        (R�ReR�(R�RtneededR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRE{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�R�(R�tcallbacktexistingR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt	subscribe�s
cC@s"x|jD]}||�q
WdS(N(R�(R�R�R$((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scC@s*|j|jj�|jj�|jfS(N(R�R�R*R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR'�scC@sH|\}}}}||_|j�|_|j�|_||_dS(N(R�R*R�R�R�(R�te_k_b_cR�RR�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR)�s

N(RRRR3R�tclassmethodR�R�R�R�R�RLRFR�R�R�R�R�R"RER&R�R'R)(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR[)s&
					\S			RcB@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(R�R)(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys	<genexpr>�s(N(N(R�R3R*tany(R�R�Rtextra_evals((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR	�s	 N(RRRR3R	(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�scB@s�eZdZde�ed�Zd�Zd�Zdd�Z	d�Z
d�Zded�Z
dd�Zd	�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.6'``);
        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_distmapR=tpythontscan(R�tsearch_pathR=R/((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s			cC@sI|jdkp-|jdkp-|j|jk}|oHt|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(R/R3t
py_versionRiR=(R�R�t	py_compat((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytcan_add�scC@s|j|jj|�dS(s"Remove `dist` from the environmentN(R.R.tremove(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR5�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(R3R<R�RVR�(R�R1R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR0�s

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.

        (tlowerR.R�(R�R
tdistribution_key((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__getitem__�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(
R4thas_versionR.R�R.R�Rtoperatort
attrgetterR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�s

cC@s�y|j|�}Wn#tk
r8|s/�nd}nX|dk	rI|Sx%||jD]}||krW|SqWW|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�RaR3R.tobtain(R�R�RTRRR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR
s

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(R3(R�trequirementR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR>+s	cc@s0x)|jj�D]}||r|VqqWdS(s=Yield the unique project names of the available distributionsN(R.R(R�R.((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�7s
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(R�R]R�RZR�(R�tothertprojectR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__iadd__=s
cC@s@|jgdddd�}x||fD]}||7}q(W|S(s4Add an environment or distribution to an environmentR=R/N(R�R3(R�R@tnewR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__add__IsN(RRRR3RDtPY_MAJORR�R4R5R0R8R�R�R
R>R�RBRD(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRZ�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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRdUs
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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�iscC@st|�j|�S(sDoes the named resource exist?(RGR�(R�tpackage_or_requirementR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRQlscC@st|�j|�S(s,Is the named resource an existing directory?(RGRR(R�RGR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRRpscC@st|�j||�S(s4Return a true filesystem path for specified resource(RGR�(R�RGR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyROvscC@st|�j||�S(s9Return a readable file-like object for specified resource(RGR�(R�RGR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRN|scC@st|�j||�S(s%Return specified resource as a string(RGR�(R�RGR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRM�scC@st|�j|�S(s1List the contents of the named resource directory(RGRP(R�RGR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRP�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(
R<texc_infotextraction_pathRYttextwraptdedenttlstripRdR�R�R�t
cache_pathtoriginal_error(R�told_excRMttmplterr((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytextraction_error�s			cC@sx|jpt�}tjj||d|�}yt|�Wntk
rY|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(
RIRYR�R�R>t_bypass_ensure_directoryt	ExceptionRRt_warn_unsafe_extraction_pathRF(R�tarchive_nametnamestextract_pathttarget_path((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�R�tenvirontstattst_modetS_IWOTHtS_IWGRPtwarningstwarntUserWarning(R�tmodetmsg((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRU�s
&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�R^R_tchmod(R�ttempnametfilenameRe((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytpostprocess�scC@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(RFRARI(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRW�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((R�tforce((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRXR6N((RRRR3RIR�RQRRRORNRMRPRRRZtstaticmethodRURkRWR�RX(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR\es										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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRYscC@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.]+t-(tretsub(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRf%scC@sZyttjj|��SWn9tjjk
rU|jdd�}tjdd|�SXdS(sB
    Convert an arbitrary string to a standard version string
    R�R8s[^A-Za-z0-9.]+RqN(R�RRRRR�RrRs(R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRg-s
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�(RrRsR6(R)((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRl9scC@s|jdd�S(s|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    RqR�(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRmBscC@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(RotSyntaxErrorR3RjtlinenoR�(ttextte((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRnJs		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(RtmarkerstMarkerR+t
InvalidMarkerRt(RvR)R*Rw((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRoXs
cB@s�eZdZdZdZdZd�Zd�Zd�Z	d�Z
d�Zd�Zd�Z
d�Zd	�Zd
�Zd�Zd�Zd
�Zd�Zd�Zd�Zd�Zd�Zed��Zd�ZRS(sETry to implement resources and metadata for arbitrary PEP 302 loaderscC@s:t|dd�|_tjjt|dd��|_dS(NR�t__file__R6(R�R3R�R�R�tdirnametmodule_path(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�nscC@s|j|j|�S(N(t_fnR}(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�rscC@stj|j||��S(N(tiotBytesIOR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�uscC@s|j|j|j|��S(N(t_getR~R}(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�xscC@s|j|j|j|��S(N(t_hasR~R}(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�{scC@s|j|j|�S(N(R~tegg_info(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_get_metadata_path~scC@s,|js|jS|j|�}|j|�S(N(R�R�R�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s	cC@s�|js
dS|j|�}|j|�}tjr8|Sy|jd�SWn1tk
r|}|jdj||�7_�nXdS(NR6sutf-8s in {} file at path: {}(	R�R�R�RtPY2tdecodetUnicodeDecodeErrortreasonR�(R�R�R�tvaluetexc((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s		cC@st|j|��S(N(RjR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scC@s|j|j|j|��S(N(t_isdirR~R}(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRR�scC@s%|jo$|j|j|j|��S(N(R�R�R~(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scC@s|j|j|j|��S(N(t_listdirR~R}(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRP�scC@s)|jr%|j|j|j|��SgS(N(R�R�R~(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s	c
B@sd|}|j|�s4edje����n|j|�jdd�}|jdd�}|j|j|�}||d<ej	j
|�r�e|�j�}e
||d�}|||UnQdd	lm}e|�d|jd�|f||<e
||d�}	|	||UdS(
Nsscripts/s<Script {script!r} not found in metadata at {self.egg_info!r}s
s
s
R{texeci(tcache(R�R`R�R�R�R�R~R�R�R�R�R
treadtcompilet	linecacheR�tlenR(
R�R�R�tscripttscript_texttscript_filenametsourcetcodeR�tscript_code((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRF�s"


%cC@std��dS(Ns9Can't perform this operation for unregistered loader type(tNotImplementedError(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scC@std��dS(Ns9Can't perform this operation for unregistered loader type(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scC@std��dS(Ns9Can't perform this operation for unregistered loader type(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scC@s3|j|�|r/tjj||jd��S|S(Nt/(t_validate_resource_pathR�R�R>R(R�tbaseR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR~�s
cC@s�tjj|jtj�kp9tj|�p9tj|�}|sFdSd}tj|�rztj|�rzt|��nt	j
|d dtdd�dS(sO
        Validate the resource paths according to the docs.
        https://setuptools.readthedocs.io/en/latest/pkg_resources.html#basic-resource-access

        >>> warned = getfixture('recwarn')
        >>> warnings.simplefilter('always')
        >>> vrp = NullProvider._validate_resource_path
        >>> vrp('foo/bar.txt')
        >>> bool(warned)
        False
        >>> vrp('../foo/bar.txt')
        >>> bool(warned)
        True
        >>> warned.clear()
        >>> vrp('/foo/bar.txt')
        >>> bool(warned)
        True
        >>> vrp('foo/../../bar.txt')
        >>> bool(warned)
        True
        >>> warned.clear()
        >>> vrp('foo/f../bar.txt')
        >>> bool(warned)
        False

        Windows path separators are straight-up disallowed.
        >>> vrp(r'\foo/bar.txt')
        Traceback (most recent call last):
        ...
        ValueError: Use of .. or absolute path in a resource path is not allowed.

        >>> vrp(r'C:\foo/bar.txt')
        Traceback (most recent call last):
        ...
        ValueError: Use of .. or absolute path in a resource path is not allowed.

        Blank values are allowed

        >>> vrp('')
        >>> bool(warned)
        False

        Non-string values are not.

        >>> vrp(None)
        Traceback (most recent call last):
        ...
        AttributeError: ...
        Ns=Use of .. or absolute path in a resource path is not allowed.i����s/ and will raise exceptions in a future release.t
stackleveli(R�R�tpardirRt	posixpathtseptisabstntpathRARbRctDeprecationWarning(R�tinvalidRf((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s6cC@s2t|jd�r"|jj|�Std��dS(Ntget_datas=Can't perform this operation for loaders without 'get_data()'(R�R�R�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�sN(RRRR3tegg_nameR�R�R�R�R�R�R�R�R�R�R�RRR�RPR�RFR�R�R�R~RmR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR~gs0																		KcB@s eZdZd�Zd�ZRS(s&Provider based on a virtual filesystemcC@stj||�|j�dS(N(R~R�t
_setup_prefix(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�-scC@s�|j}d}xt||kr�t|�rdtjj|�|_tjj|d�|_||_	Pn|}tjj
|�\}}qWdS(NsEGG-INFO(R}R3t_is_egg_pathR�R�tbasenameR�R>R�tegg_rootR(R�R�toldR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�1s		(RRRR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�CscC@stjj|�S(N(R�R�R(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�FscC@s
tj|�S(N(R�tlistdir(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�IscC@st|j|j|�d�S(Ntrb(R
R~R}(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�LscC@s&t|d��}|j�SWdQXdS(NR�(R
R�(R�R�tstream((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�OscC@s@d}x3|D]+}tt|td��}t||�q
WdS(NtSourceFileLoadertSourcelessFileLoader(R�R�(R�timportlib_machineryttypeR3R�(R�tloader_namesR�t
loader_cls((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt	_registerSs
(
RRRR�R�R�R�R�R(R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�@s					cB@s<eZdZdZd�ZZd�Zd�Zd�Z	RS(s.Provider that returns nothing for all requestscC@stS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR5cR6cC@sdS(NR6((R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�escC@sgS(N((R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�hscC@sdS(N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�ksN(
RRRR3R}R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR|^s
		tZipManifestscB@s#eZdZed��ZeZRS(s
    zip manifest builder
    c@sBtj|��-��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(R�R�R�tgetinfo(R�R�(tzfile(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys	<genexpr>�sN(tzipfiletZipFiletnamelistR(R�R�R#((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytbuildws	(RRRR(R�tload(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�rstMemoizedZipManifestscB@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�tnormpathR^tst_mtimetmtimeR�R�tmanifest(R�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s(RRRRt
namedtupleR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scB@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(RR�R�tarchiveR�R�tzip_pre(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scC@sh|jtj�}||jjkr(dS|j|j�rK|t|j�Std||jf��dS(NR6s%s is not a subpath of %s(	trstripR�R�R�R�R�R�R�tAssertionError(R�tfspath((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�R�R�R�R�R�RR�(R�tzip_pathR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_parts�s

!cC@s|jj|jj�S(N(t_zip_manifestsR�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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_resourcesR>R�t_extract_resourcet
_eager_to_zip(R�R�R�R�teagersR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�R>R|R�R�t
WRITE_SUPPORTtIOErrorRZR�R�t_is_currentt_mkstemptwriteR�R�tcloseRRkRterrortisfileR�R	RR(
R�R�R�R�tlastR�R�t	real_pathtoutfttmpnam((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��sD


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�R^tst_sizeR�R�R�R
R�(	R�t	file_pathR�R�R�R^tzip_contentstft
file_contents((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�R3R�RR�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�R>R�R(R�tindR�tpartstparent((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�+s
		cC@s.|j|�}||jkp-||j�kS(N(R�R�R�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�<scC@s|j|�|j�kS(N(R�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�@scC@s%t|j�j|j|�d��S(N((RR�R�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�CscC@s|j|j|j|��S(N(R�R~R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�FscC@s|j|j|j|��S(N(R�R~R}(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�IsN(RRRR3R�R�R�R�R�R�R�R�R�RmR�R�R�R�R�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s$				
	
		7								cB@sDeZdZd�Zd�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�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�\scC@s|jS(N(R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�_scC@s|dkotjj|j�S(NsPKG-INFO(R�R�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�bscC@s_|dkrtd��ntj|jdddd��}|j�}WdQX|j|�|S(NsPKG-INFOs(No metadata except PKG-INFO is availabletencodingsutf-8terrorsR�(R�RR
R�R�t_warn_on_replacement(R�R�R�tmetadata((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�es!
cC@sGdjd�}||krCd}|jt��}tj|�ndS(Ns�sutf-8s2{self.path} could not be properly decoded in UTF-8(R�R�R�RbRc(R�R�treplacement_charRPRf((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�ns
cC@st|j|��S(N(RjR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�vs(	RRRR�R�R�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRyPs
						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�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s	(RRRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRzzscB@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�R>R}R�(R�timporter((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s		!(RRRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR{�sRt_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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRV�sc	c@s!|jjd�rdSt|�}|jd�rHtj|d|�Vn|rRdSx�|jd�D]�}t|�r�tj	j
||�}ttj
|�|�}xu|D]}|Vq�Wqb|j�jd�rbtj	j
||�}ttj
|��}||_tj|||�VqbqbWdS(s@
    Find eggs in zip files; possibly multiple nested eggs.
    s.whlNsPKG-INFOR�R6s
.dist-info(R�tendswithR{R�R]t
from_filenameRPR�R�R�R>tfind_eggs_in_zipt	zipimporttzipimporterR6R�t
from_location(	R�R�R�R�tsubitemtsubpathR�R�tsubmeta((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�s$
	cC@sdS(N(((R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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
        Rq(	R�R�tsplitextt	itertoolstchainRRRR�(R�textR�tpart((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_by_version�sR.R:(tsortedR�(RWR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_by_version_descending�s	c
#@s�t���t��rHtj�dt�tjj�d���VdSt��}��fd�|D�}t	|�}xQ|D]I}tjj�|�}t
�|��}x||�D]}	|	Vq�Wq�WdS(s6Yield distributions accessible on a sys.path directoryR�sEGG-INFONc3@s'|]}t�|��r|VqdS(N(tdist_factory(R�R�(R�R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys	<genexpr>s(t_normalize_cachedt_is_unpacked_eggR]RRzR�R�R>tsafe_listdirRR(
R�R�R�R�tfilteredtpath_item_entriesR�tfullpathtfactoryR�((R�R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytfind_on_path�s	

cC@sf|j�}tt|jd��}|r.tS|rEt|�rEtS|r_|jd�r_tSt�S(s9
    Return a dist_factory for a path_item and entry
    s	.egg-infos
.dist-infos	.egg-link(s	.egg-infos
.dist-info(	R6R,RRtdistributions_from_metadataR�RVtresolve_egg_linktNoDists(R�R�R�R6tis_meta((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRs
RcB@s2eZdZd�Zejr'eZnd�ZRS(sS
    >>> bool(NoDists())
    False

    >>> list(NoDists()('anything'))
    []
    cC@stS(N(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__bool__.scC@s
td�S(N((titer(R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__call__3s(RRRR RR�t__nonzero__R"(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR&s
			cC@s�ytj|�SWnnttfk
r*nXtk
r�}|jtjtjtjfkpot	|dd�dk}|s��q�nXdS(sI
    Attempt to list contents of path, but suppress some exceptions.
    twinerroriN((R�R�tPermissionErrortNotADirectoryErrortOSErrorterrnotENOTDIRtEACCEStENOENTR�R3(R�Rwt	ignorable((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR7s!
cc@s�tjj|�}tjj|�rUttj|��dkrCdSt||�}nt|�}tjj|�}t	j
|||dt�VdS(Nit
precedence(R�R�R|RR�R�RzRyR�R]RRv(R�trootR�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRLscc@sDt|��2}x(|D] }|j�}|r|VqqWWdQXdS(s1
    Yield non-empty lines from file at path
    N(R
tstrip(R�R�tline((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytnon_empty_lines[s

c@s>t��}�fd�|D�}tt|�}t|d�S(sa
    Given a path to an .egg-link, resolve distributions
    present in the referenced path.
    c3@s0|]&}tjjtjj��|�VqdS(N(R�R�R>R|(R�tref(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys	<genexpr>ms((R1RRVtnext(R�treferenced_pathstresolved_pathstdist_groups((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRfs

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(R8(R�tnamespace_handler((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�}scC@s4t|�}|dkrdStj��!tjd�|j|�}WdQX|dkr[dStjj|�}|dkr�t	j
|�}tj|<g|_t|�n!t
|d�s�td|��ntt|�}|||||�}|dk	r0|j}|j|�|j|�t|||�n|S(sEEnsure that named package includes a subpath of path_item (if needed)tignoreNt__path__sNot a package:(RR3Rbtcatch_warningstsimplefiltertfind_moduleR<R�R�ttypest
ModuleTypeR<t_set_parent_nsR�R�R�R8R�tload_modulet_rebuild_mod_path(tpackageNameR�R�R�R�thandlerRR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt
_handle_ns�s.

	
	

c@s�gtjD]}t|�^q
��fd����fd�}t|d|�}g|D]}t|�^q\}t|jt�r�||j(n	||_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(tindexRAtfloat(R�(tsys_path(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytsafe_sys_path_index�s
c@sL|jtj�}�jd�d}|| }�ttjj|���S(sR
        Return the ordinal of the path based on its position in sys.path
        R8i(RR�R�tcountRR>(R�t
path_partstmodule_partsR�(tpackage_nameRL(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytposition_in_sys_path�sR.N(R<R�RRR�R<R(t	orig_pathRPR�tpRQtnew_path((RPRLRKs�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRD�s"		
cC@stj�z�|tkrdStj}|jd�\}}}|r�t|�|tkrgt|�nytj|j	}Wq�t
k
r�td|��q�Xntj|p�dg�j|�tj|g�x|D]}t||�q�WWdtj�XdS(s9Declare that package 'packageName' is a namespace packageNR8sNot a package:(t_imptacquire_lockR9R<R�t
rpartitionRSR�R�R<R�R�R�R3R�RGtrelease_lock(RER�R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRS�s&
	



cC@sbtj�zFx?tj|d�D]+}t||�}|r t||�q q WWdtj�XdS(sDEnsure that previously-declared namespace packages include path_itemN((RURVR9R�RGR�RX(R�R�tpackageR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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 importerR8i����N(R�R�R>RRR<(R�R�RER�Rt
normalizedR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytfile_ns_handler�s"cC@sdS(N(R3(R�R�RER�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytnull_ns_handler	scC@s.tjjtjjtjjt|����S(s1Normalize a file/dir name for comparison purposes(R�R�tnormcasetrealpathR�t
_cygwin_patch(Rj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRq	scC@s#tjdkrtjj|�S|S(s
    Contrary to POSIX 2008, on Cygwin, getcwd (3) contains
    symlink components. Using
    os.path.abspath() works around this limitation. A fix in os.getcwd()
    would probably better, in Cygwin even more so, except
    that this seems to be by design...
    tcygwin(R<R=R�R�tabspath(Rj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR_	scC@s9y||SWn&tk
r4t|�||<}|SXdS(N(R�Rq(RjR�tresult((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR)	s

cC@s|j�jd�S(s7
    Determine if given path appears to be an egg.
    s.egg(R6R(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�1	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�R>(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR8	scC@sU|jd�}|j�}|rQdj|�}ttj||tj|�ndS(NR8(RRR>tsetattrR<R�(RER�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRBB	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(R�RR�t
splitlinesR/R�Rj(tstrststss((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRjJ	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@s[t|�std|��n||_||_t|�|_t|�|_||_dS(NsInvalid module name(tMODULERAR�tmodule_namettupletattrsRR�(R�R�RjRlRR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�j	s		cC@sfd|j|jf}|jr<|ddj|j�7}n|jrb|ddj|j�7}n|S(Ns%s = %st:R8s [%s]t,(R�RjRlR>R(R�Rg((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�s	s		cC@sdt|�S(NsEntryPoint.parse(%r)(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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(RbRcR�RER�(R�RER4tkwargs((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�Rjt	functoolstreduceR�RlR�R�R�(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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(	RR�RcR�RTR�RRR�(R�RRR�R#((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRE�	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]' formatRtattrR8R�R�((tpatternR;RAt	groupdictt
_parse_extrasR(R�tsrcR�RCRftresRRl((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��	s#cC@s9|s
dStjd|�}|jr2t��n|jS(Ntx((R^R�tspecsRAR(R�textras_specR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRw�	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(RiRARjR�R�(R�R@tlinesR�tthisR0tep((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytparse_group�	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(R�RR#RkR3RAR/R�(R�tdataR�tmapsR@R}((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt	parse_map�	s((N(RRRR3R�R�R�R�R�R�RERrR�RuR(R�RwR�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR_g	s 				

		cC@sK|s
dStjj|�}|djd�rGtjj|d d�S|S(NR6i����smd5=(R6(RR�turlparseR�t
urlunparse(R�tparsed((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_remove_md5_fragment�	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:(R6R�(R0((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytis_version_line�	sR6RmN(RR3R!t	partitionRgR/R3(R}R�t
version_linesR0R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_version_from_file�	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��Zed��Zd�Zd*d�Zd�Zd�Zd�Zd)e d�Z!d�Z"d�Z#d�Z$d�Z%d�Z&e'e(d�sn[&ned)d��Z)d �Z*d!�Z+d)d"�Z,d#�Z-d)e d$�Z.d%�Z/d&�Z0d'�Z1ed(��Z2RS(+s5Wrap an actual or potential sys.path entry w/metadatasPKG-INFOcC@sjt|pd�|_|dk	r3t|�|_n||_||_||_||_|p`t	|_
dS(NtUnknown(RfR
R3Rgt_versionR2R=R�R-R}t	_provider(R�R�R�R
RR2R=R-((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�tvertpyverRBR
RR2R=(	R3R�R�RR6t_distributionImpltEGG_NAMER@t_reload_version(R�R�R�R�R R
RR2R=RR;((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR
s$cC@s|S(N((R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�#
scC@s:|j|j|jt|j�|jp*d|jp6dfS(NR6(tparsed_versionR-R.R�R�R2R=(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR9&
scC@s
t|j�S(N(thashR9(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__hash__1
scC@s|j|jkS(N(R9(R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__lt__4
scC@s|j|jkS(N(R9(R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__le__7
scC@s|j|jkS(N(R9(R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__gt__:
scC@s|j|jkS(N(R9(R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__ge__=
scC@s&t||j�stS|j|jkS(N(R�R�R�R9(R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__eq__@
scC@s||kS(N((R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__ne__F
scC@s:y|jSWn(tk
r5|jj�|_}|SXdS(N(t_keyR�R
R6(R�R.((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR.M
s

cC@s+t|d�s$t|j�|_n|jS(Nt_parsed_version(R�RRR�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�U
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�(RRRR�R�RJRKR/R�RbRcR�tvarsR(R�tLVt	is_legacyRP((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_warn_legacy_version\
s	cC@suy|jSWnctk
rp|j�}|dkrl|j|j�}dj|j|�}t||��n|SXdS(Ns4Missing 'Version:' header and/or {} file at path: {}(R�R�t_get_versionR3t_get_metadata_path_for_displaytPKG_INFOR�RA(R�RR�Rf((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRv
s
cC@s>y|jSWn)tk
r6|j|j��|_nX|jS(s~
        A map of extra to its list of (direct) requirements
        for this distribution, including the null extra.
        (t_Distribution__dep_mapR�t_filter_extrast_build_dep_map(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_dep_map�
s

cC@s�x�ttd|��D]�}|}|j|�}|jd�\}}}|oet|�pet|�}|rwg}nt|�p�d}|j|g�j	|�qW|S(s�
        Given a mapping of extras to dependencies, strip off
        environment markers and filter out any dependencies
        not matching the markers.
        RmN(
RRR3RR�RnRoRlR�R(tdmR)t	new_extraR�R�R*tfails_marker((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
s
	cC@s`i}xSdD]K}xBt|j|��D]+\}}|j|g�jt|��q)Wq
W|S(Nsrequires.txtsdepends.txt(srequires.txtsdepends.txt(Rkt
_get_metadataR�RRe(R�R�R�R)R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
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�RR�R3RlR�Rc(R�RR�tdepsR((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
s	

cC@s/y|jj|�}Wntk
r*dSX|S(sK
        Return the path to the given metadata file, if available.
        s[could not detect](R�R�RT(R�R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
s

cc@s5|j|�r1x|j|�D]}|VqWndS(N(R�R�(R�R�R0((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
scC@s"|j|j�}t|�}|S(N(R�R�R�(R�R}R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
scC@s�|dkrtj}n|j|d|�|tjkr�t|j�x6|jd�D]"}|tjkrWt|�qWqWWndS(s>Ensure distribution is importable on `path` (default=sys.path)R�snamespace_packages.txtN(	R3R<R�R�R�R�R�R�RS(R�R�R�tpkg((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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%sRq(RmR
RR2RER=(R�Rj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
s	cC@s(|jrd||jfSt|�SdS(Ns%s (%s)(R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
s	cC@sMyt|dd�}Wntk
r/d}nX|p9d}d|j|fS(NRs[unknown version]s%s %s(R�R3RAR
(R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��
s

cC@s.|jd�rt|��nt|j|�S(sADelegate all unrecognized public attributes to .metadata providerR�(R�R�R�R�(R�Rt((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt__getattr__�
scC@s<tttt|�j��td�|jj�D��B�S(Ncs@s$|]}|jd�s|VqdS(R�N(R�(R�Rt((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys	<genexpr>s(RRtsuperR]t__dir__R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�sR�cK@s(|jt|�tjj|�||�S(N(RRR�R�R�(R�RjR�R ((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRscC@sTt|jtjj�r1d|j|jf}nd|j|jf}tj|�S(s?Return a ``Requirement`` that matches this distribution exactlys%s==%ss%s===%s(R�R�RRRR
R^R�(R�tspec((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRscC@sD|j||�}|dkr:td||ff��n|j�S(s=Return the `name` entry point of `group` or raise ImportErrorsEntry point %r not foundN(RKR3R�R�(R�R@R�R((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRIs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_mapR�R_R�R�R3R�(R�R@tep_map((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRJ&s

 cC@s|j|�j|�S(s<Return the EntryPoint object for `group`+`name`, or ``None``(RJR�(R�R@R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRK2sc
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�RR�R�R|t	enumerateR-RrR<tcheck_version_conflictR�R�R�RIRA(
R�R�tlocR�tnloctbdirRStnpathR�tnp((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�6sB+


	

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.RRR�RqR�R<R�R9R�R3R�t
issue_warning(R�tnspR�tmodnametfn((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�zs"cC@s8y|jWn&tk
r3tdt|��tSXtS(NsUnbuilt egg for (RRAR�R�R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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R�R�R3R�R�(R�R RWRt((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytclone�s
 cC@s g|jD]}|r
|^q
S(N(R�(R�tdep((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�sN((3RRRR�R3RERrR�R(RR�R�R9R�R�R�R�R�R�R�R.R�R�RR�RmR�R�R�R�R�R�R�R�R�R�R�R�R�R�tobjectRRRIRJRKR�R�R;R�R(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR]
s\		
																							D			tEggInfoDistributioncB@seZd�ZRS(cC@s"|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.
        (R�R�(R�t
md_version((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s(RRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��stDistInfoDistributioncB@sJeZdZdZejd�Zed��Zed��Z	d�Z
RS(sV
    Wrap an actual or potential sys.path entry
    w/metadata, .dist-info style.
    tMETADATAs([\(,])\s*(\d.*?)\s*([,\)])cC@sTy|jSWnBtk
rO|j|j�}tjj�j|�|_|jSXdS(sParse and cache metadataN(t	_pkg_infoR�R�R�temailtparsertParsertparsestr(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_parsed_pkg_info�s
cC@s6y|jSWn$tk
r1|j�|_|jSXdS(N(t_DistInfoDistribution__dep_mapR�t_compute_dependencies(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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(NR)(R*R+(R)R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pytreqs_for_extra�s
#sProvides-ExtraN(
R3R�R�tget_allRRet	frozensetRlR/R(R�R�R�R�tcommonR)ts_extra((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s$(RRRR�RrR�tEQEQR�R�R�R�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s
s.eggs	.egg-infos
.dist-infocO@snd}t�}y-x&tj|�j|kr:|d7}qWWntk
rOnXtjd|d||�dS(NiR�(RR<R�R�RARbRc(R4R RqR%((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s	
tRequirementParseErrorcB@seZd�ZRS(cC@sdj|j�S(NR�(R>R4(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s(RRR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��scc@s�tt|��}x�|D]~}d|krA||jd� }n|jd�r�|d j�}y|t|�7}Wq�tk
r�dSXnt|�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!RjR�RR/R3t
StopIterationR^(RfR}R0((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRes

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
|j|jt|j�|jr�t|j�ndf|_t|j�|_dS(s>DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!N(R�R^R�RRtInvalidRequirementR�R�R�tunsafe_nameRfR6R
R.t	specifierR<RR{RkRRlRturlR�R*R3thashCmpR�t_Requirement__hash(R�trequirement_stringRwR
R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�s+$cC@st|t�o|j|jkS(N(R�R^R�(R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�/scC@s||kS(N((R�R@((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�5scC@sGt|t�r1|j|jkr%tS|j}n|jj|dt�S(Ntprereleases(R�R]R.R�RR�tcontainsR�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�8s
cC@s|jS(N(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�DscC@sdt|�S(NsRequirement.parse(%r)(R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�GscC@st|�\}|S(N(Re(RgR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�Js(
RRR�R�R�R�R�R�RmR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR^s						cC@st|kr|tfS|S(sJ
    Ensure object appears in the mro even
    for old-style classes.
    (R�(tclasses((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_always_objectPscC@sPttjt|dt|����}x"|D]}||kr.||Sq.WdS(s2Return an adapter factory for `ob` from `registry`R�N(R�tinspecttgetmroR�R�(tregistryR/R@tt((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR�Z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-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRpbscC@svtstd��nt|�\}}|rr|rrt|�rrt|�yt|d�Wqrtk
rnqrXndS(s/Sandbox-bypassing version of ensure_directory()s*"os.mkdir" not supported on this platform.i�N(R�R�RRRSRtFileExistsError(R�R|Rj((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRSh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(R3RjR�RR/RAR�(RgtsectiontcontentR0((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyRkus	cO@s7tj}ztt_tj||�SWd|t_XdS(N(R�R
tos_openttempfiletmkstemp(R4R told_open((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s
		R;tcategoryR�cO@s|||�|S(N((R�R4Ro((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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(R�R�(R�R�(R�(s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys	<genexpr>�sN(R\RR�(R%((R�s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/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�RTcs@s!|]}|jdt�VqdS(R�N(R�R�(R�R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pys	<genexpr>�scS@s|jdt�S(NR�(R�R�(R�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR5�R6R%N(R[R�R!RERLR&RFRkR�R�RRR�R<R�RRR�(RTRERLRURFR�((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt_initialize_master_working_set�s 
						cB@seZdZRS(s�
    Base class for warning about deprecations in ``pkg_resources``

    This class is not derived from ``DeprecationWarning``, and as such is
    visible by default.
    (RRR(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyR��s(�Rt
__future__RR<R�RR�RrR@R�RRbR^RrtpkgutilR<R=RR�temail.parserR�R(R�RJRR�R�R�RRUR�timpR�t	NameErrorR'tpip._vendorRtpip._vendor.six.movesRRRRRRR	R�R�R�R
R�tos.pathRRtimportlib.machineryt	machineryR�RR3R6R
RRR�R�t
__metaclass__tversion_infotRuntimeErrorR�R%R&RERTRUtresources_streamRXtresource_dirRNRWRRRMRLRPRORQR�R8R9tRuntimeWarningRRRR!R'R)R,R0R1R2t
_sget_nonet
_sset_noneRDt__all__RTR`RaR�RbRcR�R�RERrRsRtRuRvR�RGR?R�R9R�R:R�RhRiRFR�RHRIRJRKRwRxR[RRRZR�RdR\RYRfRgRlRmRnRoR~R�RR�R�R|R}R�R�R�RRyRzR{R�RVRR
RRRRRRR1RtImpImporterR�R7R�RGRDRSR�R[R\RqR_RR�RRBRjR;RitVERBOSEt
IGNORECASER�R_R�R�R]R�R�R�R�RAR�ReRR^R�R�RpRSRkR�tfilterwarningsR�RR�R�tWarningR�(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pkg_resources/__init__.pyt<module>s�











+										
											 
	
	
			.	
			����							�

	�*	

	 								"	"	
	
				
			�			
��2
	
	7	
			
			'

?>