Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
idna / lib / python2.7 / site-packages / pkg_resources / __init__.pyc
Size: Mime:
ó
w‘EYcF@@s^
dZddlmZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZddl
Z
ddlZddlZddlZddlZddlZddlZddlZddlZddlmZyddlZWnek
r9ddlZnXddlmZddlmZmZm Z ddlm!Z!y&ddlm"Z"m#Z#m$Z$e%Z&Wnek
rµe'Z&nXdd	lm(Z)dd
l*m+Z+m,Z,yddl-j.Z/e/j0Wnek
re1Z/nXddlm2Z2e3dƒe3d
ƒe3dƒe3dƒddfej4konddfknr‰dZ5ej6e5ƒne1Z7e1Z8de9fd„ƒYZ:de;fd„ƒYZ<de<e2j=j>fd„ƒYZ?de<e2j=j@fd„ƒYZAd„ZBiZCd„ZDd„ZEd„ZFd„ZGd„ZHd „ZId!„ZJd"„ZKZLd#„ZMd$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCddDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhgFZNd?eOfdi„ƒYZPd@ePfdj„ƒYZQdkeQfdl„ƒYZRdAePfdm„ƒYZSdBePfdn„ƒYZTiZUej=d ZVdZWdoZXdpZYdZZdqZ[dr„Z\ds„Z]gdt„Z^du„Z_dv„Z`ejadwƒZbejadxƒZce`Zddy„Zedz„ZfefZgd{„Zhd|„Zie1d}„Zjd~„ZkdWfd„ƒYZldXelfd€„ƒYZmd:e;fd„ƒYZnd‚eofdƒ„ƒYZpd9e;fd„„ƒYZqeqZrdCesfd…„ƒYZtd;fd†„ƒYZud‡„Zvdˆ„Zwd‰„ZxdŠ„Zyd‹„ZzdŒ„Z{e1d„Z|d^fdŽ„ƒYZ}e\e;e}ƒd_e}fd„ƒYZ~d`e~fd„ƒYZej€ƒd\e}fd‘„ƒYZeƒZ‚d’eofd“„ƒYZƒd”eƒfd•„ƒYZ„d–e	j…fd—„ƒYZ†dae~fd˜„ƒYZ‡e\e
jˆe‡ƒdYefd™„ƒYZ‰dZefdš„ƒYZŠd[e‡fd›„ƒYZ‹eDdœdiƒdž„ZŒe'dŸ„Ze'd „ZŽeŒe
jˆeŽƒe'd¡„ZeŒe;eƒe'd¢„ZeŒej‘eƒe’e/d£ƒreŒe/j“eƒneDdœd¤iƒeDdœd¥iƒd¦„Z”d§„Z•d¨„Z–d©„Z—e1dª„Z˜d«„Z™e”ej‘e™ƒe”e
jˆe™ƒe’e/d£ƒrže”e/j“e™ƒnd¬„Zše”e;ešƒd­„Z›id®„Zœd¯„Zd°„Zžd±„ZŸejad²ƒj Z¡ejad³ej¢ej£Bƒj Z¤d>e;fd´„ƒYZ¥dµ„Z¦d¶„Z§d<e;fd·„ƒYZ¨d¸e¨fd¹„ƒYZ©dºe¨fd»„ƒYZªie¨d¼6e©d½6eªd¾6Z«d¿„Z¬dÀe­fdÁ„ƒYZ®d„Z¯d=e2j°j±fdăYZ±dĄZ²dńZ³dƄZ´dDŽZµdȄZ¶dɄZ·ej¸dÊdËe:dÌe%ƒd̈́Z¹e¹eºƒd΄ƒZ»e¹dτƒZ¼dS(ÐsZ
Package resource API
--------------------

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

The package resource API is designed to work with normal filesystem packages,
.egg files, and unpacked .egg files.  It can also work in a limited way with
.zip files and with custom PEP 302 loaders that support the ``get_data()``
method.
i(tabsolute_importN(tget_importer(tsix(turllibtmaptfilter(tutime(tmkdirtrenametunlink(topen(tisdirtsplit(t	packagings&pkg_resources.extern.packaging.versions)pkg_resources.extern.packaging.specifierss+pkg_resources.extern.packaging.requirementss&pkg_resources.extern.packaging.markersisLSupport for Python 3.0-3.2 has been dropped. Future versions will fail here.t
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__(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRXst_SetuptoolsVersionMixincB@sYeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
RS(	cC@stt|ƒjƒS(N(tsuperRt__hash__(tself((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRascC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(t
isinstancettupleRRt__lt__(Rtother((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRdscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__le__(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRjscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__eq__(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRpscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__ge__(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRvscC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__gt__(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR|scC@s9t|tƒrt|ƒ|kStt|ƒj|ƒSdS(N(RRRRt__ne__(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR‚scC@st|ƒ|S(N(R(Rtkey((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__getitem__ˆsc#@sžtjdtjƒ‰idd6dd6dd6dd6dd	6j‰‡‡fd
†‰‡fd†}tjdtd
dƒx|t|ƒƒD]}|Vq‹WdS(Ns(\d+ | [a-z]+ | \.| -)tctpretpreviewsfinal-t-trct@tdevc3@suxiˆj|ƒD]X}ˆ||ƒ}|s|dkr>qn|d dkr_|jdƒVqd|VqWdVdS(Nt.it
0123456789it*s*final(Rtzfill(tstpart(tcomponent_retreplace(sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_parse_version_parts•s
c@s©g}x–ˆ|jƒƒD]‚}|jdƒrŽ|dkrdx'|r`|ddkr`|jƒq=Wnx'|rŠ|ddkrŠ|jƒqgWn|j|ƒqWt|ƒS(NR*s*finaliÿÿÿÿs*final-t00000000(tlowert
startswithtpoptappendR(R,tpartsR-(R0(sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytold_parse_version£ss–You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.t
stackleveli(tretcompiletVERBOSEtgettwarningstwarntRuntimeWarningtstr(RR7R-((R0R.R/sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__iter__‹s
(RRRRRRRRRR RA(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR_s								tSetuptoolsVersioncB@seZRS((RR(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRBÂstSetuptoolsLegacyVersioncB@seZRS((RR(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRCÆscC@s3yt|ƒSWntjjk
r.t|ƒSXdS(N(RBR
tversiontInvalidVersionRC(tv((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt
parse_versionËscK@s-tƒj|ƒtjtj||ƒƒdS(N(tglobalstupdatet_state_varstdicttfromkeys(tvartypetkw((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_declare_stateÔscC@sLi}tƒ}x6tjƒD](\}}|d|||ƒ||<qW|S(Nt_sget_(RHRJtitems(tstatetgtkRF((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__getstate__Øs
	 cC@sJtƒ}x:|jƒD],\}}|dt|||||ƒqW|S(Nt_sset_(RHRQRJ(RRRSRTRF((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__setstate__ßs	$cC@s
|jƒS(N(tcopy(tval((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_sget_dictåscC@s|jƒ|j|ƒdS(N(tclearRI(RtobRR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_sset_dictès
cC@s
|jƒS(N(RU(RY((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_sget_objectìscC@s|j|ƒdS(N(RW(RR\RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_sset_objectïscG@sdS(N(tNone(targs((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt<lambda>òscC@s{tƒ}tj|ƒ}|dk	rwtjdkrwy-ddjtƒd ƒ|jdƒf}Wqwt	k
rsqwXn|S(sZReturn this platform's maximum compatible version.

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

    If this condition occurs for any other platform with a version in its
    platform strings, this function should be extended accordingly.
    tdarwinsmacosx-%s-%sR(iiN(
tget_build_platformtmacosVersionStringtmatchR`tsystplatformtjoint_macosx_verstgroupt
ValueError(tplattm((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytget_supported_platformõs
	-
trequiret
run_scripttget_providertget_distributiontload_entry_pointt
get_entry_maptget_entry_infotiter_entry_pointstresource_stringtresource_streamtresource_filenametresource_listdirtresource_existstresource_isdirtdeclare_namespacetworking_settadd_activation_listenertfind_distributionstset_extraction_pathtcleanup_resourcestget_default_cachetEnvironmentt
WorkingSettResourceManagertDistributiontRequirementt
EntryPointtResolutionErrortVersionConflicttDistributionNotFoundtUnknownExtratExtractionErrortparse_requirementsRGt	safe_nametsafe_versiontget_platformtcompatible_platformstyield_linestsplit_sectionst
safe_extratto_filenametinvalid_markertevaluate_markertensure_directorytnormalize_pathtEGG_DISTtBINARY_DISTtSOURCE_DISTt
CHECKOUT_DISTtDEVELOP_DISTtIMetadataProvidertIResourceProvidertFileMetadatatPathMetadatatEggMetadatat
EmptyProvidertempty_providertNullProvidertEggProvidertDefaultProvidertZipProvidertregister_findertregister_namespace_handlertregister_loader_typetfixup_namespace_packagesRtrun_maintAvailableDistributionscB@seZdZd„ZRS(s.Abstract base for dependency resolution errorscC@s|jjt|jƒS(N(t	__class__RtreprRa(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__repr__<s(RRRRµ(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/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(Ra(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytdistJscC@s|jdS(Ni(Ra(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytreqNscC@s|jjtƒS(N(t	_templatetformattlocals(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytreportRscC@s$|s
|S|j|f}t|ŒS(st
        If required_by is non-empty, return a version of self that is a
        ContextualVersionConflict.
        (RatContextualVersionConflict(Rtrequired_byRa((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytwith_contextUs(	RRRR¸tpropertyR¶R·R»R¾(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRŒ@s	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(Ra(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR½hs(RRRRŒR¸R¿R½(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/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(Ra(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR·sscC@s|jdS(Ni(Ra(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt	requirerswscC@s|js
dSdj|jƒS(Nsthe applications, (RÀRi(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt
requirers_str{s	cC@s|jjtƒS(N(R¸R¹Rº(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR»scC@s
|jƒS(N(R»(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__str__„s(
RRRR¸R¿R·RÀRÁR»RÂ(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRms	cB@seZdZRS(s>Distribution doesn't have an "extra feature" of the given name(RRR(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRŽˆsiiiÿÿÿÿ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((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¯“scC@s“t|tƒr2tj|ƒp1tt|ƒƒdSytj|}Wn(tk
rmt	|ƒtj|}nXt
|ddƒ}tt
|ƒ|ƒS(s?Return an IResourceProvider for the named module or requirementit
__loader__N(RR‰RtfindRpR@RgtmodulestKeyErrort
__import__tgetattrR`t
_find_adapterRÃ(tmoduleOrReqtmoduletloader((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRrœs#

cC@s›|s“tjƒd}|dkrzd}tjj|ƒrzttdƒrwtj|ƒ}d|krt|d}qtqwqzn|j|j	dƒƒn|dS(Nits0/System/Library/CoreServices/SystemVersion.plistt	readPlisttProductVersionR((
Rhtmac_vertostpathtexiststhasattrtplistlibRÑR5R(t_cacheRDtplistt
plist_content((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRj¨scC@sidd6dd6j||ƒS(NtppctPowerPCtPower_Macintosh(R<(tmachine((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_macosx_arch·scC@sÏyddlm}Wn!tk
r7ddlm}nX|ƒ}tjdkrË|jdƒrËyTtƒ}tj	ƒdj
ddƒ}dt|dƒt|d	ƒt|ƒfSWqËt
k
rÇqËXn|S(
sÄReturn this platform's string for platform-specific distributions

    XXX Currently this is the same as ``distutils.util.get_platform()``, but it
    needs some hacks for Linux and Mac OS X.
    i(R“Rcsmacosx-it t_smacosx-%d.%d-%si(t	sysconfigR“tImportErrortdistutils.utilRgRhR3RjRÔtunameR/tintRàRl(R“RmRDRß((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRdº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(R`tTrueReRftdarwinVersionStringRçRktFalse(tprovidedtrequiredtreqMactprovMact
provDarwintdversiontmacosversion((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR”Ùs*$"*cC@sNtjdƒj}|d}|jƒ||d<t|ƒdj||ƒdS(s@Locate distribution `dist_spec` and run its `script_name` scriptiRiN(Rgt	_getframet	f_globalsR[RpRq(t	dist_spectscript_nametnstname((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRqs



cC@sgt|tjƒr$tj|ƒ}nt|tƒrBt|ƒ}nt|tƒsctd|ƒ‚n|S(s@Return a current distribution object for a Requirement or strings-Expected string, Requirement, or Distribution(RRtstring_typesR‰tparseRrRˆt	TypeError(R¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRsscC@st|ƒj||ƒS(sDReturn `name` entry point of `group` for `dist` or raise ImportError(RsRt(R¶RkR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRtscC@st|ƒj|ƒS(s=Return the entry point map for `group`, or the full entry map(RsRu(R¶Rk((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRu scC@st|ƒj||ƒS(s<Return the EntryPoint object for `group`+`name`, or ``None``(RsRv(R¶RkR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRv$scB@s>eZd„Zd„Zd„Zd„Zd„Zd„ZRS(cC@sdS(s;Does the package's distribution contain the named metadata?N((R÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pythas_metadata+scC@sdS(s'The named metadata resource as a stringN((R÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytget_metadata.scC@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÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytget_metadata_lines1scC@sdS(s>Is the named metadata a directory?  (like ``os.path.isdir()``)N((R÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytmetadata_isdir7scC@sdS(s?List of metadata names in the directory (like ``os.listdir()``)N((R÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytmetadata_listdir:scC@sdS(s=Execute the named script in the supplied namespace dictionaryN((Rõt	namespace((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRq=s(RRRûRüRýRþRÿRq(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¢)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((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytget_resource_filenameDscC@sdS(siReturn a readable file-like object for `resource_name`

        `manager` must be an ``IResourceManager``N((RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytget_resource_streamIscC@sdS(smReturn a string containing the contents of `resource_name`

        `manager` must be an ``IResourceManager``N((RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytget_resource_stringNscC@sdS(s,Does the package contain the named resource?N((R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pythas_resourceSscC@sdS(s>Is the named resource a directory?  (like ``os.path.isdir()``)N((R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR}VscC@sdS(s?List of resource names in the directory (like ``os.listdir()``)N((R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR{Ys(	RRRRRRRR}R{(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR£As					cB@sÔeZdZdd„Zed„ƒZed„ƒZd„Zd„Z	d„Z
dd„Zd„Zd	„Z
deed
„Zdded„Zdded„Zd
„Zd„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	callbacksR`RgRÕt	add_entry(RRtentry((sK/home/tvault/.virtenv/lib/python2.7/site-packages/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__RRäRpRŒt_build_from_requirements(tclstwsR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_build_masterms	

cC@s|gƒ}t|ƒ}|j|tƒƒ}x|D]}|j|ƒq4Wx0tjD]%}||jkrU|j|ƒqUqUW|jtj(|S(sQ
        Build a working set from a requirement spec. Rewrites sys.path.
        (RtresolveR…taddRgRÕRR(Rtreq_specRtreqstdistsR¶R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRs

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

        ``find_distributions(entry, True)`` is used to find distributions
        corresponding to the path entry, and they are added.  `entry` is
        always appended to ``.entries``, even if it is already present.
        (This is because ``sys.path`` can contain the same value more than
        once, and the ``.entries`` of the ``sys.path`` WorkingSet should always
        equal ``sys.path``.)
        N(Rt
setdefaultRR5RRèRRê(RRR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR—s
cC@s|jj|jƒ|kS(s9True if `dist` is the active distribution for its project(R	R<R(RR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__contains__¦scC@sC|jj|jƒ}|dk	r?||kr?t||ƒ‚n|S(sÐFind a distribution matching requirement `req`

        If there is an active distribution for the requested project, this
        returns it as long as it meets the version requirement specified by
        `req`.  But, if there is an active distribution for the project and it
        does *not* meet the `req` requirement, ``VersionConflict`` is raised.
        If there is no active distribution for the requested project, ``None``
        is returned.
        N(R	R<RR`RŒ(RR·R¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRǪs
cc@sgx`|D]X}|j|ƒ}|dkrGx4|jƒD]}|Vq5Wq||kr||VqqWdS(sYield entry point objects from `group` matching `name`

        If `name` is None, yields all entry points in `group` from all
        distributions in the working set, otherwise only ones matching
        both `group` and `name` are yielded (in distribution order).
        N(RuR`tvalues(RRkR÷R¶Rtep((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRwºs
cC@sQtjdƒj}|d}|jƒ||d<|j|ƒdj||ƒdS(s?Locate distribution for `requires` and run `script_name` scriptiRiN(RgRòRóR[RpRq(RtrequiresRõRöR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRqÉ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(RRR	(RtseentitemR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRAÑ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_onRR`tlocationRRRR	R5t
_added_new(RR¶RtinsertR/tkeystkeys2((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRâscC@s"t|ƒddd…}i}i}g}tƒ}tjtƒ}	xØ|r|jdƒ}
|
|krmqFn|j|
ƒs‚qFn|j|
jƒ}|dkr|j
j|
jƒ}|dksÓ||
krq|rq|}|dkr|dkrt|jƒ}qtgƒ}t
gƒ}n|j|
||ƒ}||
j<|dkrq|	j|
dƒ}
t|
|
ƒ‚qqn|j|ƒn||
kr²|	|
}t||
ƒj|ƒ‚n|j|
jƒddd…}|j|ƒx/|D]'}|	|j|
jƒ|
j||<qåWt||
<qFW|S(seList 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.
        Niÿÿÿÿi(tlistt
_ReqExtrastcollectionstdefaultdicttsetR4tmarkers_passR<RR`R	R…RR†t
best_matchRR5RŒR¾RtextrastextendRtproject_nameRè(Rtrequirementstenvt	installertreplace_conflictingt	processedtbesttto_activatet
req_extrasR½R·R¶RRÀt
dependent_reqtnew_requirementstnew_requirement((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRsJ		 


cC@sAt|ƒ}|jƒi}i}|dkrJt|jƒ}||7}n
||}|jgƒ}	tt|	j|ƒƒx¥|D]}
x”||
D]ˆ}|jƒg}y|	j	|||ƒ}
Wn*t
k
rë}|||<|rçq‘qPq‘Xtt|	j|
ƒƒ|jtj
|
ƒƒPq‘Wq€Wt|ƒ}|jƒ||fS(ssFind all activatable distributions in `plugin_env`

        Example usage::

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

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

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

        This method returns a 2-tuple: (`distributions`, `error_info`), where
        `distributions` is a list of the distributions found in `plugin_env`
        that were loadable, along with any other distributions that are needed
        to resolve their dependencies.  `error_info` is a dictionary mapping
        unloadable plugin distributions to an exception instance describing the
        error that occurred. Usually this will be a ``DistributionNotFound`` or
        ``VersionConflict`` instance.
        N(R&tsortR`R…RR³RRtas_requirementRR‹RIRKRL(Rt
plugin_envtfull_envR2tfallbacktplugin_projectst
error_infot
distributionsR1t
shadow_setR/R¶R·t	resolveesRF((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytfind_pluginsRs4$




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

        `requirements` must be a string or a (possibly-nested) sequence
        thereof, specifying the distributions and versions required.  The
        return value is a sequence of the distributions that needed to be
        activated to fulfill the requirements; all relevant distributions are
        included, even if they were already activated in this working set.
        (RRR(RR0tneededR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRp¦s	
cC@sB||jkrdS|jj|ƒx|D]}||ƒq*WdS(sAInvoke `callback` for all distributions (including existing ones)N(R
R5(RtcallbackR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt	subscribe¶s

cC@s"x|jD]}||ƒq
WdS(N(R
(RR¶RG((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR"¾scC@s*|j|jjƒ|jjƒ|jfS(N(RRRXR	R
(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRUÂscC@sH|\}}}}||_|jƒ|_|jƒ|_||_dS(N(RRXRR	R
(Rte_k_b_cRR$R	R
((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRWÈs

N(RRRR`R
tclassmethodRRRRRÇRwRqRARèRêRRRERpRHR"RURW(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR†]s(
					QS				R'cB@seZdZd„ZRS(s>
    Map each requirement to the extras that demanded it.
    c@s:‡fd†|jˆdƒdDƒ}ˆjp9t|ƒS(s»
        Evaluate markers for req against each extra that
        demanded it.

        Return False if the req has a marker and fails
        evaluation. Otherwise, return True.
        c3@s(|]}ˆjji|d6ƒVqdS(textraN(tmarkertevaluate(t.0RK(R·(sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pys	<genexpr>Þs(N(N(R<R`RLtany(RR·textra_evals((R·sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR+Õs	(RRRR+(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR'ÐscB@s†eZdZdeƒed„Zd„Zd„Zdd„Z	d„Z
d„Zdd„Zdd„Z
d	„Zd
„Zd„ZRS(
s5Searchable snapshot of distributions on a search pathcC@s,i|_||_||_|j|ƒdS(s!Snapshot distributions available on a search path

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

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

        You may explicitly set `platform` (and/or `python`) to ``None`` if you
        wish to map *all* distributions, not just those compatible with the
        running platform or Python version.
        N(t_distmapRhtpythontscan(Rtsearch_pathRhRR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
çs			cC@sC|jdks0|jdks0|j|jkoBt|j|jƒS(såIs distribution `dist` acceptable for this environment?

        The distribution must match the platform and python version
        requirements specified when this environment was created, or False
        is returned.
        N(RRR`t
py_versionR”Rh(RR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytcan_addþscC@s|j|jj|ƒdS(s"Remove `dist` from the environmentN(RQRtremove(RR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRW	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(R`RgRÕRR(RRTRR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRS
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.

        (R2RQR<(RR/tdistribution_key((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR scC@su|j|ƒrq|jƒrq|jj|jgƒ}||krq|j|ƒ|jdtjdƒdt	ƒqqndS(sLAdd `dist` if we ``can_add()`` it and it has not already been added
        RthashcmptreverseN(
RVthas_versionRQRRR5R;toperatort
attrgetterRè(RR¶R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR's

cC@sW|j|ƒ}|dk	r|Sx%||jD]}||kr-|Sq-W|j||ƒS(s¸Find distribution best matching `req` and usable on `working_set`

        This calls the ``find(req)`` method of the `working_set` to see if a
        suitable distribution is already active.  (This may raise
        ``VersionConflict`` if an unsuitable version of the project is already
        active in the specified `working_set`.)  If a suitable distribution
        isn't active, this method returns the newest distribution in the
        environment that meets the ``Requirement`` in `req`.  If no suitable
        distribution is found, and `installer` is supplied, then the result of
        calling the environment's ``obtain(req, installer)`` method will be
        returned.
        N(RÇR`Rtobtain(RR·RR2R¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR,0s
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(R`(RtrequirementR2((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR^Fs	cc@s0x)|jjƒD]}||r|VqqWdS(s=Yield the unique project names of the available distributionsN(RQR$(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRARs
cC@s{t|tƒr|j|ƒnXt|tƒrdxF|D](}x||D]}|j|ƒqFWq5Wntd|fƒ‚|S(s2In-place addition of a distribution or environmentsCan't add %r to environment(RRˆRR…Rú(RRtprojectR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__iadd__Xs
cC@s@|jgddddƒ}x||fD]}||7}q(W|S(s4Add an environment or distribution to an environmentRhRRN(R³R`(RRtnewR1((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__add__dsN(RRRR`RotPY_MAJORR
RVRWRSR RR,R^RARaRc(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR…äs								cB@seZdZRS(sTAn error occurred extracting a resource

    The following attributes are available from instances of this exception:

    manager
        The resource manager that raised this exception

    cache_path
        The base directory for resource extraction

    original_error
        The exception instance that caused extraction to fail
    (RRR(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRps
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((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
„scC@st|ƒj|ƒS(sDoes the named resource exist?(RrR(Rtpackage_or_requirementR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR|‡scC@st|ƒj|ƒS(s,Is the named resource an existing directory?(RrR}(RRfR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR}‹scC@st|ƒj||ƒS(s4Return a true filesystem path for specified resource(RrR(RRfR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRz‘scC@st|ƒj||ƒS(s9Return a readable file-like object for specified resource(RrR(RRfR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRy—scC@st|ƒj||ƒS(s%Return specified resource as a string(RrR(RRfR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRxscC@st|ƒj|ƒS(s1List the contents of the named resource directory(RrR{(RRfR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR{£scC@sttjƒd}|jptƒ}tjdƒjƒ}t|jt	ƒƒ}||_
||_||_|‚dS(s5Give an error message for problems extracting file(s)is
            Can't extract file(s) to egg cache

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

              {old_exc}

            The Python egg cache directory is currently set to:

              {cache_path}

            Perhaps your account does not have write access to this directory?  You can
            change the cache directory by setting the PYTHON_EGG_CACHE environment
            variable to point to an accessible directory.
            N(
Rgtexc_infotextraction_pathR„ttextwraptdedenttlstripRR¹RºRt
cache_pathtoriginal_error(Rtold_excRlttmplterr((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytextraction_error©s			cC@sn|jptƒ}tjj||d|Œ}yt|ƒWn|jƒnX|j|ƒd|j|<|S(s®Return absolute location in cache for `archive_name` and `names`

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

        This method should only be called by resource providers that need to
        obtain an extraction location, and only for names they intend to
        extract, as it tracks the generated names for possible cleanup later.
        s-tmpi(	RhR„RÔRÕRit_bypass_ensure_directoryRqt_warn_unsafe_extraction_pathRe(Rtarchive_nametnamestextract_pathttarget_path((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytget_cache_pathÅs


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

        See Distribute #375 for more details.
        tnttwindirNsË%s is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).(RÔR÷R3tenvirontstattst_modetS_IWOTHtS_IWGRPR=R>tUserWarning(RÕtmodetmsg((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRsÞ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(RttempnametfilenameR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/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(ReRlRh(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR‚
s	cC@sdS(sB
        Delete all extracted resource files and directories, returning a list
        of the file and directory names that could not be successfully removed.
        This function does not have any concurrency protection, so it should
        generally only be called when the extraction path is a temporary
        directory exclusive to a single process.  This method is not
        automatically called; you must call it explicitly or register it as an
        ``atexit`` function if you wish to ensure cleanup of a temporary
        directory used for extractions.
        N((Rtforce((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRƒ$sN((RRRR`RhR
R|R}RzRyRxR{RqRxtstaticmethodRsR‡R‚RêRƒ(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR‡€s										cC@sytjdSWntk
r"nXtjdkrBtjjdƒSd}dd|fd|fd|fdd|fg}x—|D]ƒ\}}d}xn|D]5}|tjkrÌtjj|tj|ƒ}q˜Pq˜W|rïtjj||ƒ}ntjj|dƒSqWtd
ƒ‚dS(sDetermine the default cache location

    This returns the ``PYTHON_EGG_CACHE`` environment variable, if set.
    Otherwise, on Windows, it returns a "Python-Eggs" subdirectory of the
    "Application Data" directory.  On all other systems, it's "~/.python-eggs".
    tPYTHON_EGG_CACHERys~/.python-eggssApplication DatatAPPDATAtUSERPROFILEt	HOMEDRIVEtHOMEPATHtHOMEtWINDIRRÐsPython-Eggss3Please set the PYTHON_EGG_CACHE enviroment variableN(sAPPDATA((sAPPDATAN(RŒ(RRŽ(RŽ(sHOME((sHOMEN(R(	RÔR{RÉR÷RÕt
expanduserR`RitRuntimeError(tapp_datat	app_homesR$tsubdirtdirnameR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR„1s0
			
cC@stjdd|ƒS(sConvert an arbitrary string to a standard distribution name

    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
    s[^A-Za-z0-9.]+R$(R9tsub(R÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR‘]scC@sZyttjj|ƒƒSWn9tjjk
rU|jddƒ}tjdd|ƒSXdS(sB
    Convert an arbitrary string to a standard version string
    RáR(s[^A-Za-z0-9.]+R$N(R@R
RDtVersionRER/R9R—(RD((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR’es
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â(R9R—R2(RK((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR—qscC@s|jddƒS(s|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    R$Râ(R/(R÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR˜zscC@s;yt|ƒWn&tk
r6}d|_d|_|SXtS(so
    Validate text as a PEP 508 environment marker; return an exception
    if invalid or False otherwise.
    N(RštSyntaxErrorR`R†tlinenoRê(ttextte((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR™‚s		cC@sLy tjj|ƒ}|jƒSWn%tjjk
rG}t|ƒ‚nXdS(sÙ
    Evaluate a PEP 508 environment marker.
    Return a boolean indicating the marker result in this environment.
    Raise SyntaxError if marker is invalid.

    This implementation uses the 'pyparsing' module.
    N(R
tmarkerstMarkerRMt
InvalidMarkerR™(R›RKRLRœ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRšs
cB@sÝeZdZdZdZdZd„Zd„Zd„Z	d„Z
d„Zd„Ze
jdkrod„Zn	d	„Zd
„Zd„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(sETry to implement resources and metadata for arbitrary PEP 302 loaderscC@s:t|ddƒ|_tjjt|ddƒƒ|_dS(NRÆt__file__RÐ(RËR`RÏRÔRÕR–tmodule_path(RRÎ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
¦scC@s|j|j|ƒS(N(t_fnR¡(RRR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRªscC@stj|j||ƒƒS(N(tiotBytesIOR(RRR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR­scC@s|j|j|j|ƒƒS(N(t_getR¢R¡(RRR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR°scC@s|j|j|j|ƒƒS(N(t_hasR¢R¡(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR³scC@s%|jo$|j|j|j|ƒƒS(N(tegg_infoR¦R¢(RR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRû¶sicC@s)|js
dS|j|j|j|ƒƒS(NRÐ(R§R¥R¢(RR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRüºs	cC@s2|js
dS|j|j|j|ƒƒjdƒS(NRÐsutf-8(R§R¥R¢tdecode(RR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRü¿s	cC@st|j|ƒƒS(N(R•Rü(RR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRýÄscC@s|j|j|j|ƒƒS(N(t_isdirR¢R¡(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR}ÇscC@s%|jo$|j|j|j|ƒƒS(N(R§R©R¢(RR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRþÊscC@s|j|j|j|ƒƒS(N(t_listdirR¢R¡(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR{ÍscC@s)|jr%|j|j|j|ƒƒSgS(N(R§RªR¢(RR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÿÐs	c
B@sd|}|j|ƒs,ed|ƒ‚n|j|ƒjddƒ}|jddƒ}|j|j|ƒ}||d<ejj|ƒr»e	|ƒj
ƒ}e||dƒ}|||UnQdd	lm
}e|ƒd|jdƒ|f||<e||dƒ}	|	||UdS(
Nsscripts/sNo script named %rs
s
s
R texeci(tcache(RûR‹RüR/R¢R§RÔRÕRÖR
treadR:t	linecacheR¬tlenR(
RRõRtscripttscript_texttscript_filenametsourcetcodeR¬tscript_code((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRqÕs


%cC@stdƒ‚dS(Ns9Can't perform this operation for unregistered loader type(tNotImplementedError(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¦éscC@stdƒ‚dS(Ns9Can't perform this operation for unregistered loader type(R¶(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR©îscC@stdƒ‚dS(Ns9Can't perform this operation for unregistered loader type(R¶(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRªóscC@s&|r"tjj||jdƒŒS|S(Nt/(RÔRÕRiR(RtbaseR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¢øscC@s2t|jdƒr"|jj|ƒStdƒ‚dS(Ntget_datas=Can't perform this operation for loaders without 'get_data()'(R×RÏR¹R¶(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¥ýsN(i(RRRR`tegg_nameR§RÏR
RRRRRûRgtversion_infoRüRýR}RþR{RÿRqR¦R©RªR¢R¥(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR©Ÿs0																	cB@s eZdZd„Zd„ZRS(s&Provider based on a virtual filesystemcC@stj||ƒ|jƒdS(N(R©R
t
_setup_prefix(RRÎ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR

scC@sŠ|j}d}xt||kr…t|ƒrdtjj|ƒ|_tjj|dƒ|_||_	Pn|}tjj
|ƒ\}}qWdS(NsEGG-INFO(R¡R`t_is_unpacked_eggRÔRÕtbasenameRºRiR§tegg_rootR(RRÕtoldR¸((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¼s		(RRRR
R¼(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRªs	cB@sJeZdZd„Zd„Zd„Zd„Zd„Zed„ƒZ	RS(s6Provides access to package resources in the filesystemcC@stjj|ƒS(N(RÔRÕRÖ(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¦scC@stjj|ƒS(N(RÔRÕR(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR©"scC@s
tj|ƒS(N(RÔtlistdir(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRª%scC@st|j|j|ƒdƒS(Ntrb(R
R¢R¡(RRR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR(scC@s&t|dƒ}|jƒSWdQXdS(NRÂ(R
R­(RRÕtstream((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¥+scC@s)ttdtdƒƒ}t||ƒdS(NtSourceFileLoader(RËtimportlib_machineryttypeR`R¯(Rt
loader_cls((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt	_register/s	(
RRRR¦R©RªRR¥RJRÈ(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR«s					cB@s<eZdZd„ZZd„Zd„ZdZd„Z	RS(s.Provider that returns nothing for all requestscC@stS(N(Rê(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRb;scC@sdS(NRÐ((RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRb<scC@sgS(N((RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRb=scC@sdS(N((R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
@sN(
RRRR©R¦R¥RªR`R¡R
(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR§8s
		tZipManifestscB@s#eZdZed„ƒZeZRS(s
    zip manifest builder
    c@s?t|ƒ-‰‡fd†ˆjƒDƒ}t|ƒSWdQXdS(s
        Build a dictionary similar to the zipimport directory
        caches, except instead of tuples, store ZipInfo objects.

        Use a platform-specific path separator (os.sep) for the path keys
        for compatibility with pypy on Windows.
        c3@s3|])}|jdtjƒˆj|ƒfVqdS(R·N(R/RÔtseptgetinfo(RNR÷(tzfile(sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pys	<genexpr>VsN(tContextualZipFiletnamelistRK(RRÕRQ((RÌsK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytbuildKs	(RRRRJRÏtload(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÉFstMemoizedZipManifestscB@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(RRÕRÕRÖ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÐgs(RRRR(t
namedtupleRÒRÐ(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÑasRÍcB@s)eZdZd„Zd„Zd„ZRS(sL
    Supplement ZipFile class to support context manager for Python 2.6
    cC@s|S(N((R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt	__enter__zscC@s|jƒdS(N(tclose(RRÆtvaluet	traceback((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__exit__}scO@s8ttjdƒr"tj||ŽStt|ƒj|ƒS(sI
        Construct a ZipFile or ContextualZipFile as appropriate
        RÜ(R×tzipfiletZipFileRRÍt__new__(RRatkwargs((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR߀s(RRRRØRÜRß(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÍus		cB@s°eZdZdZeƒZd„Zd„Zd„Z	e
d„ƒZd„Ze
d„ƒZd„Zd„Zd	„Zd
„Zd„Zd„Zd
„Zd„Zd„ZRS(s"Resource support for zips and eggscC@s*tj||ƒ|jjtj|_dS(N(RªR
RÏtarchiveRÔRÊtzip_pre(RRÎ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
scC@s@|j|jƒr#|t|jƒStd||jfƒ‚dS(Ns%s is not a subpath of %s(R3RâR¯tAssertionError(Rtfspath((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_zipinfo_name“scC@sd|j|}|j|jtjƒrG|t|jƒdjtjƒStd||jfƒ‚dS(Nis%s is not a subpath of %s(RâR3R¿RÔRÊR¯RRã(Rtzip_pathRä((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_partsœs

!cC@s|jj|jjƒS(N(t_zip_manifestsRÐRÏRá(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytzipinfo¦scC@sŽ|jstdƒ‚n|j|ƒ}|jƒ}dj|j|ƒƒ|kr~x*|D]}|j||j|ƒƒqXWn|j||ƒS(Ns5resource_filename() only supported for .egg, not .zipR·(RºR¶t_resource_to_zipt_get_eager_resourcesRiRçt_extract_resourcet
_eager_to_zip(RRRRæteagersR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRªs	
 cC@s/|j}|jd}tj|ƒ}||fS(Niiÿÿÿÿ(iiiÿÿÿÿ(t	file_sizet	date_timettimetmktime(tzip_stattsizeRðt	timestamp((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_get_date_and_size·s	
c
C@sÜ||jƒkr^x9|jƒ|D]'}|j|tjj||ƒƒ}q#Wtjj|ƒS|j|j|ƒ\}}tst	dƒ‚ny(|j
|j|j|ƒƒ}|j
||ƒrÆ|Stddtjj|ƒƒ\}}	tj||jj|ƒƒtj|ƒt|	||fƒ|j|	|ƒyt|	|ƒWnltjk
rµtjj|ƒr¯|j
||ƒr‚|Stjdkr¯t|ƒt|	|ƒ|Sn‚nXWntjk
r×|jƒnX|S(Ns>"os.rename" and "os.unlink" are not supported on this platforms	.$extracttdirRy(t_indexRìRÔRÕRiR–RöRét
WRITE_SUPPORTtIOErrorRxRºRçt_is_currentt_mkstemptwriteRÏR¹RÙRR‡RterrortisfileR÷R	Rq(
RRRæR÷tlastRõRôt	real_pathtoutfttmpnam((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRìÀs@$


c	C@s£|j|j|ƒ\}}tjj|ƒs2tStj|ƒ}|j|ks_|j|krctS|j	j
|ƒ}t|dƒ}|jƒ}WdQX||kS(sK
        Return True if the file_path is current for this zip_path
        RÂN(
RöRéRÔRÕRÿRêR|tst_sizeRÔRÏR¹R
R­(	Rt	file_pathRæRõRôR|tzip_contentstft
file_contents((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRûôscC@sa|jdkrZg}x6dD].}|j|ƒr|j|j|ƒƒqqW||_n|jS(Nsnative_libs.txtseager_resources.txt(snative_libs.txtseager_resources.txt(RîR`RûR.Rý(RRîR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRës
cC@s´y|jSWn¢tk
r¯i}x~|jD]s}|jtjƒ}xX|rtjj|d ƒ}||kr‡||j|dƒPqF|jƒg||<qFWq+W||_|SXdS(Niÿÿÿÿ(	t	_dirindextAttributeErrorRéRRÔRÊRiR5R4(RtindRÕR6tparent((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRø
s
		cC@s.|j|ƒ}||jkp-||jƒkS(N(RåRéRø(RRäRæ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¦scC@s|j|ƒ|jƒkS(N(RåRø(RRä((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR©"scC@s%t|jƒj|j|ƒdƒƒS(N((R&RøR<Rå(RRä((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRª%scC@s|j|j|j|ƒƒS(N(RåR¢R¿(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRí(scC@s|j|j|j|ƒƒS(N(RåR¢R¡(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRê+sN(RRRR`RîRÑRèR
RåRçR¿RéRR‰RöRìRûRëRøR¦R©RªRíRê(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¬‰s$					
	
		4								cB@s2eZdZd„Zd„Zd„Zd„ZRS(s*Metadata handler for standalone PKG-INFO files

    Usage::

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

    This provider rejects all data and metadata requests except for PKG-INFO,
    which is treated as existing, and will be the contents of the file at
    the provided location.
    cC@s
||_dS(N(RÕ(RRÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
=scC@s|dkotjj|jƒS(NsPKG-INFO(RÔRÕRÿ(RR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRû@sc	C@s‹|dkr{tj|jddƒQ}y|jƒ}Wn7tk
rp}d}|j|jd|ƒ7_‚nXWdQX|Stdƒ‚dS(NsPKG-INFOtencodingsutf-8s in {self.path}Rs(No metadata except PKG-INFO is available(R£R
RÕR­tUnicodeDecodeErrortreasonR¹RÉ(RR÷RtmetadatatexcRo((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRüCs
cC@st|j|ƒƒS(N(R•Rü(RR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRýPs(RRRR
RûRüRý(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¤1s

			
cB@seZdZd„ZRS(ssMetadata provider for egg directories

    Usage::

        # Development eggs:

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

        # Unpacked egg directories:

        egg_path = "/path/to/PackageName-ver-pyver-etc.egg"
        metadata = PathMetadata(egg_path, os.path.join(egg_path,'EGG-INFO'))
        dist = Distribution.from_filename(egg_path, metadata=metadata)
    cC@s||_||_dS(N(R¡R§(RRÕR§((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
hs	(RRRR
(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¥TscB@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ÕRiR¡R¼(Rtimporter((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
ps		!(RRRR
(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¦msRKt_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((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR­}scC@s+t|ƒ}tt|ƒ}||||ƒS(s.Yield distributions accessible via `path_item`(RRÌR(t	path_itemtonlyRtfinder((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR‡scc@s¼|jjdƒrdSt|ƒ}|jdƒrHtj|d|ƒVn|rRdSxc|jdƒD]R}t|ƒrbtj	j
||ƒ}x(ttj
|ƒ|ƒD]}|Vq¢WqbqbWdS(s@
    Find eggs in zip files; possibly multiple nested eggs.
    s.whlNsPKG-INFORR·(RátendswithR¦RûRˆt
from_filenameR{R½RÔRÕRitfind_eggs_in_zipt	zipimporttzipimporter(RRRRtsubitemtsubpathR¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRscC@sdS(N(((RRR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytfind_nothing£scc@st|ƒ}tjj|ƒrtj|tjƒrt|ƒrntj|dt	|tjj
|dƒƒƒVqx—tj|ƒD]ƒ}|jƒ}|j
dƒs®|j
dƒrtjj
||ƒ}tjj|ƒrçt	||ƒ}nt|ƒ}tj|||dtƒVq~|rWt|ƒrWttjj
||ƒƒ}xÀ|D]}|VqEWq~|r~|j
dƒr~ttjj
||ƒƒ}	|	jƒ}
WdQXxa|
D]V}|jƒs¼q¤ntjj
||jƒƒ}t|ƒ}x|D]}
|
VqêWPq¤Wq~q~WndS(s6Yield distributions accessible on a sys.path directoryRsEGG-INFOs	.egg-infos
.dist-infot
precedences	.egg-linkN(t_normalize_cachedRÔRÕRtaccesstR_OKR½RˆRR¥RiRÁR2RR¤t
from_locationR¡RR
t	readlineststriptrstrip(RRRRR2tfullpathRRR¶t
entry_filetentry_linestlineRÕR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytfind_on_path§s<'	 


	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(R0(Rtnamespace_handler((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR®ØscC@st|ƒ}|dkrdS|j|ƒ}|dkr;dStjj|ƒ}|dkr‰tj|ƒ}tj|<g|_t	|ƒn!t
|dƒsªtd|ƒ‚ntt
|ƒ}|||||ƒ}|dk	r|j}|j|ƒ|j|ƒt|||ƒn|S(sEEnsure that named package includes a subpath of path_item (if needed)t__path__sNot a package:N(RR`tfind_moduleRgRÈR<ttypest
ModuleTypeR3t_set_parent_nsR×RúRÌR0R5tload_modulet_rebuild_mod_path(tpackageNameRRRÏRÎthandlerR RÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt
_handle_nsés*	
	

c@skgtjD]}t|ƒ^q
‰‡‡fd†}|jd|ƒg|D]}t|ƒ^qK|j(dS(sq
    Rebuild module.__path__ ensuring that all entries are ordered
    corresponding to their sys.path order
    c@sO|jtjƒ}ˆjdƒd}|| }ˆjttjj|ƒƒƒS(sR
        Return the ordinal of the path based on its position in sys.path
        R(i(RRÔRÊtcounttindexR#Ri(RÕt
path_partstmodule_partsR6(tpackage_nametsys_path(sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytposition_in_sys_path	sRN(RgRÕR#R;R3(t	orig_pathRARÎtpRC((RARBsK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR9s"	cC@stjƒzð|tkrdStjd}}d|kr²dj|jdƒd ƒ}t|ƒ|tkrxt	|ƒnytj
|j}Wq²tk
r®t
d|ƒ‚q²Xntj|gƒj|ƒtj|gƒx|D]}t||ƒqâWWdtjƒXdS(s9Declare that package 'packageName' is a namespace packageNR(iÿÿÿÿsNot a package:(t_imptacquire_lockR1RgRÕR`RiRR~RÊRÈR3R
RúRR5R<trelease_lock(R:RÕRR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR~s&




cC@sbtjƒzFx?tj|dƒD]+}t||ƒ}|r t||ƒq q WWdtjƒXdS(sDEnsure that previously-declared namespace packages include path_itemN((RFRGR1R<R<R°RH(RRtpackageR ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR°6s
cC@s`tjj||jdƒdƒ}t|ƒ}x+|jD]}t|ƒ|kr8Pq8q8W|SdS(sBCompute an ns-package subpath for a filesystem or zipfile importerR(iÿÿÿÿN(RÔRÕRiRR#R3(RRR:RÎR t
normalizedR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytfile_ns_handlerAs"cC@sdS(N(R`(RRR:RÎ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytnull_ns_handlerTscC@stjjtjj|ƒƒS(s1Normalize a file/dir name for comparison purposes(RÔRÕtnormcasetrealpath(R†((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRœZscC@s9y||SWn&tk
r4t|ƒ||<}|SXdS(N(RÉRœ(R†RÙtresult((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR#^s

cC@s|jƒjdƒS(s@
    Determine if given path appears to be an unpacked egg.
    s.egg(R2R(RÕ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR½escC@sU|jdƒ}|jƒ}|rQdj|ƒ}ttj||tj|ƒndS(NR((RR4RitsetattrRgRÈ(R:R6R÷R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR7ms
cc@s‡t|tjƒrVxn|jƒD]0}|jƒ}|r|jdƒr|VqqWn-x*|D]"}xt|ƒD]}|VqpWq]WdS(s9Yield non-empty/non-comment lines of a string or sequencet#N(RRRøt
splitlinesR(R3R•(tstrsR,tss((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR•us
s\w+(\.\w+)*$s–
    (?P<name>[^-]+) (
        -(?P<ver>[^-]+) (
            -py(?P<pyver>[^-]+) (
                -(?P<plat>.+)
            )?
        )?
    )?
    cB@sªeZdZdd
dd„Zd„Zd„Zed„Zd„Z	ddd„Z
ejdƒZ
edd„ƒZed	„ƒZedd
„ƒZedd„ƒZRS(s3Object representing an advertised importable objectcC@snt|ƒstd|ƒ‚n||_||_t|ƒ|_tjddj|ƒƒj	|_	||_
dS(NsInvalid module namesx[%s]t,(tMODULERlR÷tmodule_nameRtattrsR‰RùRiR-R¶(RR÷RWRXR-R¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
”s		"cC@sfd|j|jf}|jr<|ddj|jƒ7}n|jrb|ddj|jƒ7}n|S(Ns%s = %st:R(s [%s]RU(R÷RWRXRiR-(RR,((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRs		cC@sdt|ƒS(NsEntryPoint.parse(%r)(R@(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRµ¥scO@sO|s|s|r,tjdtddƒn|rE|j||Žn|jƒS(sH
        Require packages for this EntryPoint, then resolve it.
        sJParameters to load are deprecated.  Call .resolve and .require separately.R8i(R=R>tDeprecationWarningRpR(RRpRaRà((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRШs
cC@sdt|jddgddƒ}ytjt|j|ƒSWn%tk
r_}tt|ƒƒ‚nXdS(sD
        Resolve the entry point from its module and attrs.
        tfromlistRtleveliN(	RÊRWt	functoolstreduceRËRXR
RäR@(RRÎR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR·s
cC@si|jr%|jr%td|ƒ‚n|jj|jƒ}tj|||ƒ}tttj|ƒƒdS(Ns&Can't require() without a distribution(	R-R¶RŽRRRR&RR(RR1R2RRQ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRpÁs
s]\s*(?P<name>.+?)\s*=\s*(?P<module>[\w.]+)\s*(:\s*(?P<attr>[\w.]+))?\s*(?P<extras>\[.*\])?\s*$cC@s|jj|ƒ}|s0d}t||ƒ‚n|jƒ}|j|dƒ}|drl|djdƒnd}||d|d|||ƒS(sParse a single entry point from string `src`

        Entry point syntax follows the form::

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

        The entry name and module name are required, but the ``:attrs`` and
        ``[extras]`` parts are optional
        s9EntryPoint must be in 'name=module:attrs [extras]' formatR-tattrR(R÷RÎ((tpatternRfRlt	groupdictt
_parse_extrasR(RtsrcR¶RnR‚tresR-RX((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRùÑs#cC@s9|s
dStjd|ƒ}|jr2tƒ‚n|jS(Ntx((R‰RùtspecsRlR-(Rtextras_specR·((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRbå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(RVRlR•RùR÷(RRktlinesR¶tthisR-R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/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(RRKRQR–R`RlR(Rj(RtdataR¶tmapsRkRh((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt	parse_mapûs((N(RRRR`R
RÂRµRèRÐRRpR9R:R`RJRùRbRjRm(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRŠ‘s 				
		cC@sK|s
dStjj|ƒ}|djdƒrGtjj|d dƒS|S(NRÐiÿÿÿÿsmd5=(RÐ(RRùturlparseR3t
urlunparse(R!tparsed((sK/home/tvault/.virtenv/lib/python2.7/site-packages/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:(R2R3(R-((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRb	sRÐRYN(Rtnexttitert	partitionR’R(R`(Rhtis_version_linet
version_linesR-RâRÚ((sK/home/tvault/.virtenv/lib/python2.7/site-packages/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„ƒZd$d„Zd„Zd#d„Zd„Zd„Zd„Zd„Zed#d„ƒZ d„Z!d„Z"d#d„Z#d„Z$d#e%d„Z&d„Z'd „Z(d!„Z)ed"„ƒZ*RS(%s5Wrap an actual or potential sys.path entry w/metadatasPKG-INFOcC@sjt|pdƒ|_|dk	r3t|ƒ|_n||_||_||_||_|p`t	|_
dS(NtUnknown(R‘R/R`R’t_versionRURhR!R"R¨t	_provider(RR!RR/RDRURhR"((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
(	s				cK@s½dgd\}}}}tjj|ƒ\}}	|	jƒtkrt|	jƒ}t|ƒ}
|
r|
jddddƒ\}}}}qn|||d|d|d|d	||jƒS(
NiR÷tvertpyverRmR/RDRURh(	R`RÔRÕtsplitextR2t_distributionImpltEGG_NAMERkt_reload_version(RR!R¾RRNR/RDRURhtextRf((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR&4	s$cC@s|S(N((R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR€E	scC@s:|j|j|jt|jƒ|jp*d|jp6dfS(NRÐ(tparsed_versionR"RRqR!RURh(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRYH	scC@s
t|jƒS(N(thashRY(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRS	scC@s|j|jkS(N(RY(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRV	scC@s|j|jkS(N(RY(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRY	scC@s|j|jkS(N(RY(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR\	scC@s|j|jkS(N(RY(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR_	scC@s&t||jƒstS|j|jkS(N(RR³RêRY(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRb	scC@s||kS(N((RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRh	scC@s:y|jSWn(tk
r5|jjƒ|_}|SXdS(N(t_keyR
R/R2(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRo	s

cC@s+t|dƒs$t|jƒ|_n|jS(Nt_parsed_version(R×RGRDR…(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR‚w	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á(R
RDt
LegacyVersionRR…RiRjR(R/R=R>R¹tvarsR(RtLVt	is_legacyRo((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_warn_legacy_version~	s	cC@sgy|jSWnUtk
rbt|j|jƒƒ}|dkr^d}t||j|ƒ‚n|SXdS(Ns(Missing 'Version:' header and/or %s file(RyR
Rwt
_get_metadatatPKG_INFOR`Rl(RRDRo((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRD˜	s
cC@súy|jSWnètk
rõigd6}|_x¿dD]·}x®t|j|ƒƒD]—\}}|rÊd|krµ|jddƒ\}}t|ƒrg}qµt|ƒsµg}qµnt|ƒpÄd}n|j	|gƒj
t|ƒƒqRWq6W|SXdS(Nsrequires.txtsdepends.txtRYi(srequires.txtsdepends.txt(t_Distribution__dep_mapR
R`R–R‹RR™RšR—RR.R(RtdmR÷RKRRL((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_dep_map£	s 

"	'cC@s‚|j}g}|j|jddƒƒxS|D]K}y|j|t|ƒƒWq/tk
rytd||fƒ‚q/Xq/W|S(s@List of Requirements needed for this distro if `extras` are useds%s has no such extra feature %rN((RR.R<R`R—RÉRŽ(RR-RŽtdepsR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR·	s	

cc@s5|j|ƒr1x|j|ƒD]}|VqWndS(N(RûRý(RR÷R-((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR‹Å	scC@s„|dkrtj}n|j|dtƒ|tjkr€t|jƒx6|jdƒD]"}|tjkrWt	|ƒqWqWWndS(s>Ensure distribution is importable on `path` (default=sys.path)R/snamespace_packages.txtN(
R`RgRÕR RèR°R!R‹RÈR~(RRÕtpkg((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytactivateÊ	s
cC@sOdt|jƒt|jƒ|jp'tf}|jrK|d|j7}n|S(s@Return what this distribution's standard .egg filename should bes
%s-%s-py%sR$(R˜R/RDRURdRh(RR†((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRºÕ	s	cC@s(|jrd||jfSt|ƒSdS(Ns%s (%s)(R!R@(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRµà	s	cC@sMyt|ddƒ}Wntk
r/d}nX|p9d}d|j|fS(NRDs[unknown version]s%s %s(RËR`RlR/(RRD((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÂæ	s

cC@s.|jdƒrt|ƒ‚nt|j|ƒS(sADelegate all unrecognized public attributes to .metadata providerRâ(R3R
RËRz(RR_((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt__getattr__î	scK@s(|jt|ƒtjj|ƒ||S(N(R&R#RÔRÕR¾(RR†RRN((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRô	scC@sTt|jtjjƒr1d|j|jf}nd|j|jf}tj|ƒS(s?Return a ``Requirement`` that matches this distribution exactlys%s==%ss%s===%s(RR‚R
RDR˜R/R‰Rù(Rtspec((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR<û	scC@sD|j||ƒ}|dkr:td||ffƒ‚n|jƒS(s=Return the `name` entry point of `group` or raise ImportErrorsEntry point %r not foundN(RvR`RäRÐ(RRkR÷R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRt
scC@scy
|j}Wn3tk
rBtj|jdƒ|ƒ}|_nX|dk	r_|j|iƒS|S(s=Return the entry point map for `group`, or the full entry mapsentry_points.txtN(t_ep_mapR
RŠRmR‹R`R<(RRktep_map((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRu
s

 cC@s|j|ƒj|ƒS(s<Return the EntryPoint object for `group`+`name`, or ``None``(RuR<(RRkR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRv
sc
C@s„|p|j}|sdSt|ƒ}tjj|ƒ}g|D]}|rVt|ƒpY|^q>}xËt|ƒD]w\}}||kr‹Pqo||kro|jtkro|tjkrÂ|j	ƒn|j
||ƒ|j
||ƒPqoqoW|tjkr|j	ƒn|r|j
d|ƒn
|j|ƒdSxMtry|j
||dƒ}	Wntk
rgPq3X||	=||	=|	}q3WdS(s@Insert self.location in path before its nearest parent directoryNii(R!R#RÔRÕR–t	enumerateR"RRgtcheck_version_conflictR#R5RèR>Rl(
RRÕtlocR/tnloctbdirREtnpathRtnp((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR 
s:+


	

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(s
pkg_resourcesRžR (
RRKRLR‹RœR!RgRÈR1RËR`R3t
issue_warning(RtnspR™tmodnametfn((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR˜F
s"cC@s8y|jWn&tk
r3tdt|ƒƒtSXtS(NsUnbuilt egg for (RDRlR¡R´RêRè(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR[\
s
cK@sYd}x0|jƒD]"}|j|t||dƒƒqW|jd|jƒ|j|S(s@Copy this distribution, substituting in any changed keyword argss<project_name version py_version platform location precedenceRN(RRRËR`RzR³(RRNRuR_((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytcloned
s
 cC@s g|jD]}|r
|^q
S(N(R(Rtdep((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR-l
sN((+RRRRŒR`RdRR
RJR&R€R¿RYRRRRRRRRR‚RŠRDRRR‹R’RºRµRÂR“RR<RtRuRvRêR R˜R[R¥R-(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRˆ$	sN		
																		+			tEggInfoDistributioncB@seZd„ZRS(cC@s.t|j|jƒƒ}|r*||_n|S(sñ
        Packages installed by distutils (e.g. numpy or scipy),
        which uses an old safe_version, and so
        their version numbers can get mangled when
        converted to filenames (e.g., 1.11.0.dev0+2329eae to
        1.11.0.dev0_2329eae). These distributions will not be
        parsed properly
        downstream by Distribution and safe_version, so
        take an extra step and try to get the version number from
        the metadata file itself instead of the filename.
        (RwR‹RŒRy(Rt
md_version((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR€s
s(RRR€(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR§q
stDistInfoDistributioncB@sJeZdZdZejdƒZed„ƒZed„ƒZ	d„Z
RS(sGWrap an actual or potential sys.path entry w/metadata, .dist-info styletMETADATAs([\(,])\s*(\d.*?)\s*([,\)])cC@sTy|jSWnBtk
rO|j|jƒ}tjjƒj|ƒ|_|jSXdS(sParse and cache metadataN(t	_pkg_infoR
RüRŒtemailtparsertParsertparsestr(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_parsed_pkg_infoŠ
s
cC@s6y|jSWn$tk
r1|jƒ|_|jSXdS(N(t_DistInfoDistribution__dep_mapR
t_compute_dependencies(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR”
s

c@sÛigd6}|_g‰x3|jjdƒp2gD]}ˆjt|ƒƒq3W‡fd†}t|dƒƒ}|dj|ƒxR|jjdƒpšgD]8}t|jƒƒ}t	t||ƒƒ|ƒ||<q›W|S(s+Recompute this distribution's dependencies.s
Requires-Distc3@s@x9ˆD]1}|js0|jji|d6ƒr|VqqWdS(NRK(RLRM(RKR·(R(sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pytreqs_for_extra¥
s
#sProvides-ExtraN(
R`R±R°tget_allR.Rt	frozensetR—R(R&(RRŽR·R³tcommonRK((RsK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR²œ
s$(RRRRŒR9R:tEQEQR¿R°RR²(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR©…
s
s.eggs	.egg-infos
.dist-infocO@snd}tƒ}y-x&tj|ƒj|kr:|d7}qWWntk
rOnXtjd|d||ŽdS(NiR8(RHRgRòRóRlR=R>(RaRNR\RS((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¡»
s	
tRequirementParseErrorcB@seZd„ZRS(cC@sdj|jƒS(NRá(RiRa(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÂÉ
s(RRRÂ(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR¸È
scc@s†tt|ƒƒ}xm|D]e}d|krA||jdƒ }n|jdƒrs|d jƒ}|t|ƒ7}nt|ƒVqWdS(sŠYield ``Requirement`` objects for each specification in `strs`

    `strs` must be a string, or a (possibly-nested) iterable thereof.
    s #s\iþÿÿÿN(RsR•RÇRR(RrR‰(RSRhR-((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÍ
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
|jt|jƒ|jròt|jƒndf|_t|jƒ|_dS(s>DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!N(RR‰R
R
R0tInvalidRequirementR¸R@R÷tunsafe_nameR‘R2R/Rt	specifierR\RDRfRRR—R-RµRLR`thashCmpRƒt_Requirement__hash(Rtrequirement_stringRœR/R”((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
á
s+$cC@st|tƒo|j|jkS(N(RR‰R¼(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRõ
scC@s||kS(N((RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRû
scC@sGt|tƒr1|j|jkr%tS|j}n|jj|dtƒS(Ntprereleases(RRˆRRêRDR»tcontainsRè(RR((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRþ
s
cC@s|jS(N(R½(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR
scC@sdt|ƒS(NsRequirement.parse(%r)(R@(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRµ
scC@st|ƒ\}|S(N(R(R,R·((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRùs(
RRR
RRRRRµR‰Rù(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR‰à
s						cC@s:t|tƒs3d|tfd„ƒY}|jdS|jS(s&Get an mro for a type or classic classRcB@seZRS((RR(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRsi(RRÆtobjectt__mro__(R((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_get_mroscC@sAx:tt|dt|ƒƒƒD]}||kr||SqWdS(s2Return an adapter factory for `ob` from `registry`R³N(RÃRËRÆ(tregistryR\tt((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRÌs%cC@s8tjj|ƒ}tjj|ƒs4tj|ƒndS(s1Ensure that the parent directory of `path` existsN(RÔRÕR–Rtmakedirs(RÕR–((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR›#scC@s^tstdƒ‚nt|ƒ\}}|rZ|rZt|ƒrZt|ƒt|dƒndS(s/Sandbox-bypassing version of ensure_directory()s*"os.mkdir" not supported on this platform.iíN(RùRúRRRrR(RÕR–R†((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRr*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(R`R•R3RR(RlR5(R,tsectiontcontentR-((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyR–4s	cO@s7tj}ztt_tj||ŽSWd|t_XdS(N(RÔR
tos_openttempfiletmkstemp(RaRNtold_open((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRüMs
		tignoretcategoryR5cO@s|||Ž|S(N((RRaRà((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_call_aside`s
cC@sStƒ}||d<x9t|ƒD]+}|jdƒs t||ƒ||<q q WdS(s=Set up global resource manager (deliberately not state-saved)t_managerRâN(R‡R÷R3RË(RSRR÷((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_initializees
	
cC@sŒtjƒ}tdd|ƒ|j}|j}|j}|j}|}|d„ƒg|_tt	|j
tjƒƒ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ÁRcS@s
|jƒS(N(R’(R¶((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyRbˆsN(R†RRORpRwRHRqRR&RRRgRÕRHRIRº(RRpRwR€RqR±((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt_initialize_master_working_setos
				
	(½Rt
__future__RRgRÔR£RñR9R5RÝRR=R|R]tpkgutilR\RhR(RØtemail.parserR¬RÌRiRRFRätimptpkg_resources.externRtpkg_resources.extern.six.movesRRRRRRR	RèRùRêR
RËtos.pathRRtimportlib.machineryt	machineryRÅRR`R
RÊR»R‚R>RpRR?RRÁRRDR˜RBR†RCRGRJRORURWRZR]R^R_t
_sget_nonet
_sset_noneRot__all__t	ExceptionR‹RŒR¼RRŽRÃRdRRžRŸR R¡R¯RrRjRàRdR:ReRéR“R”RqR±RsRtRuRvR¢R£R†RKR'R…R²R’RR‡R„R‘R’R—R˜R™RšR©RªR«RÈR§R¨RÉRÑRÞRÍR¬RR¤R¥R¦R­RRR!R.tImpImporterR×R/R®R<R9R~R°RKRLRœR#R½R7R•RfRVR;t
IGNORECASERRŠRqRwRˆR§R©R~R¡RlR¸RR0R‰RÃRÌR›RrR–RütfilterwarningsRÑRHRÓRÔ(((sK/home/tvault/.virtenv/lib/python2.7/site-packages/pkg_resources/__init__.pyt<module>s 









+c								
											 

						.			
		ÿt‰±	,						e

	¥#	

(				 		
				
	~			ÿN/
	
	5