Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/pkg_resources.pyc


NcC@s	dZddlZddlZddlZddlZddlZddlZddlZddlmZm	Z	ye
Wn!ek
rddlm
Z
nXddlmZy&ddlmZmZmZeZWnek
reZnXddlmZddlmZmZeZd	d
ZiZdZdZd
Z dZ!dZ"dZ#dZ$dZ%Z&dZ'ddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVgCZ(d/e)fdWYZ*d0e*fdXYZ+d1e*fdYYZ,d2e*fdZYZ-iZ.ej/d[ Z0d[Z1d\Z2d]Z3d^Z4dZ5d_Z6d`Z7gdaZ8dbZ9dcZ:ej;ddZ<ej;deZ=e:Z>dfZ?dgZ@e@ZAdhZBdiZCeDdjZEdkZFdEfdlYZGdFeGfdmYZHd*eIfdnYZJd)eIfdoYZKeKZLd3eMfdpYZNd+fdqYZOdrZPdsZQdtZRduZSdvZTdLfdwYZUe6eIeUdMeUfdxYZVdNeVfdyYZWe6eXeDeWdJeUfdzYZYeYZZdOeVfd{YZ[e6ej\e[dGeYfd|YZ]dHeWfd}YZ^dIe[fd~YZ_dfdYZ`dfdYZadZbyddlcmbZbmdZdWnek
r]n
XedZ`[a[deddidZeedZfedZgeeej\egdahedZieeeIeiedZjeee`ejeddieddidZkdZldZmeDdZndZoeke`eoekej\eodZpekeIepdZqidZrdZsdZtej;djuZvej;djuZwej;djuZxej;djuZyej;djuZzej;djuZ{ej;djuZ|ej;djuZ}ej;dej~ejBjuZej;dej~Zidd6dd6dd6dd6dd6jZdZdZd.eIfdYZdZd,eIfdYZdZdZdZd-fdYZidd6dd6dd6dd6dd6dd6ZdZdZdZdZdZdZeOZdZeeedd#eJyddlmZWnek
rnXyejeWne+k
rX	eJgZx0ejeeeKD]ZejeqWx0ejD]%ZeejkrD	ejenq	Wejej(nXejZejZejZej@Z@e@ZAedge_eejejdS(sYPackage 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.
iN(turlparset
urlunparse(tImmutableSet(tutime(tmkdirtrenametunlink(topen(tisdirtspliticCs^tstdnt|\}}|rZ|rZt|rZt|t||ndS(Ns*"os.mkdir" not supported on this platform.(t
WRITE_SUPPORTtIOErrorR	Rt_bypass_ensure_directoryR(tnametmodetdirnametfilename((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR-s
cKs>t}x.|jD] \}}|||<|t|<qWdS(N(tglobalst	iteritemst_state_vars(tvartypetkwtgR
tval((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_declare_state9s	
cCsLi}t}x6tjD](\}}|d|||||<qW|S(Nt_sget_(RRR(tstateRtktv((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__getstate__?s
	 cCsJt}x:|jD],\}}|dt|||||qW|S(Nt_sset_(RRR(RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__setstate__Fs	$cCs
|jS(N(tcopy(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt
_sget_dictLscCs|j|j|dS(N(tcleartupdate(tkeytobR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt
_sset_dictOs
cCs
|jS(N(R(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_sget_objectSscCs|j|dS(N(R(R$R%R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_sset_objectVscGsdS(N(tNone(targs((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt<lambda>YscCs{t}tj|}|dk	rwtjdkrwy-ddjtd |jdf}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_platformtmacosVersionStringtmatchR)tsystplatformtjoint_macosx_verstgroupt
ValueError(tplattm((s1/usr/lib/python2.7/dist-packages/pkg_resources.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_requirementst
parse_versiont	safe_nametsafe_versiontget_platformtcompatible_platformstyield_linestsplit_sectionst
safe_extratto_filenametensure_directorytnormalize_pathtEGG_DISTtBINARY_DISTtSOURCE_DISTt
CHECKOUT_DISTtDEVELOP_DISTtIMetadataProvidertIResourceProvidertFileMetadatatPathMetadatatEggMetadatat
EmptyProvidertempty_providertNullProvidertEggProvidertDefaultProvidertZipProvidertregister_findertregister_namespace_handlertregister_loader_typetfixup_namespace_packagestget_importertrun_maintAvailableDistributionscBseZdZdZRS(s.Abstract base for dependency resolution errorscCs|jjt|jS(N(t	__class__t__name__treprR*(tself((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__repr__s(R~t
__module__t__doc__R(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRUscBseZdZRS(sAAn already-installed version conflicts with the requested version(R~RR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRVscBseZdZRS(s&A requested distribution was not found(R~RR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRWscBseZdZRS(s>Distribution doesn't have an "extra feature" of the given name(R~RR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRXsiiiicCs|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((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRxscCst|tr2tj|p1tt|dSytj|}Wn(tk
rmt	|tj|}nXt
|dd}tt
||S(s?Return an IResourceProvider for the named module or requirementit
__loader__N(t
isinstanceRSRItfindR:tstrR1tmodulestKeyErrort
__import__tgetattrR)t
_find_adapterR(tmoduleOrReqtmoduletloader((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR<s#

cCs|sddl}|jd}|dkrddl}d}tjj|rt|dr|j|}d|kr|d}qqqn|j|j	dn|dS(Niits0/System/Library/CoreServices/SystemVersion.plistt	readPlisttProductVersionR-(
R2tmac_vertplistlibtostpathtexiststhasattrRtappendR	(t_cacheR2tversionRtplistt
plist_content((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR4scCsidd6dd6j||S(NtppctPowerPCtPower_Macintosh(tget(tmachine((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_macosx_archscCsyddlm}Wn!tk
r7ddlm}nX|}tjdkr|jdryTt}tj	dj
dd}dt|d	t|d
t|fSWqt
k
rqXn|S(sReturn 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^R,smacosx-it t_smacosx-%d.%d-%sii(tdistutils.utilR^tImportErrort	sysconfigR1R2t
startswithR4RtunametreplacetintRR6(R^R7RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR.s
		
smacosx-(\d+)\.(\d+)-(.*)sdarwin-(\d+)\.(\d+)\.(\d+)-(.*)c
CsO|d	ks$|d	ks$||kr(tStj|}|rKtj|}|stj|}|rt|jd}d|jd|jdf}|dkr|dks|dkr|dkrtSntS|jd|jdks|jd|jdkrtSt|jdt|jdkrGtStStS(
sCan 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)tTrueR/R0tdarwinVersionStringRR5tFalse(tprovidedtrequiredtreqMactprovMact
provDarwintdversiontmacosversion((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR_
s*$"*cCsNtjdj}|d}|j||d<t|dj||dS(s@Locate distribution `dist_spec` and run its `script_name` scriptiR~iN(R1t	_getframet	f_globalsR"R:R;(t	dist_spectscript_nametnsR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR;=s



cCsdt|tr!tj|}nt|tr?t|}nt|ts`td|n|S(s@Return a current distribution object for a Requirement or strings-Expected string, Requirement, or Distribution(Rt
basestringRStparseR<RRt	TypeError(tdist((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR=GscCst|j||S(sDReturn `name` entry point of `group` for `dist` or raise ImportError(R=R>(RR5R
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR>OscCst|j|S(s=Return the entry point map for `group`, or the full entry map(R=R?(RR5((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR?SscCst|j||S(s<Return the EntryPoint object for `group`+`name`, or ``None``(R=R@(RR5R
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR@WscBs>eZdZdZdZdZdZdZRS(cCsdS(s;Does the package's distribution contain the named metadata?N((R
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pythas_metadata^scCsdS(s'The named metadata resource as a stringN((R
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytget_metadataascCsdS(sYield 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
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytget_metadata_linesdscCsdS(s>Is the named metadata a directory?  (like ``os.path.isdir()``)N((R
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytmetadata_isdirjscCsdS(s?List of metadata names in the directory (like ``os.listdir()``)N((R
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytmetadata_listdirmscCsdS(s=Execute the named script in the supplied namespace dictionaryN((Rt	namespace((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR;ps(R~RRRRRRR;(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRk\s					cBsDeZdZdZdZdZdZdZdZRS(s3An object that provides access to package resourcescCsdS(sdReturn a true filesystem path for `resource_name`

        `manager` must be an ``IResourceManager``N((tmanagert
resource_name((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytget_resource_filenamescCsdS(siReturn a readable file-like object for `resource_name`

        `manager` must be an ``IResourceManager``N((RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytget_resource_streamscCsdS(smReturn a string containing the contents of `resource_name`

        `manager` must be an ``IResourceManager``N((RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytget_resource_stringscCsdS(s,Does the package contain the named resource?N((R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pythas_resourcescCsdS(s>Is the named resource a directory?  (like ``os.path.isdir()``)N((R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRGscCsdS(s?List of resource names in the directory (like ``os.listdir()``)N((R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyREs(	R~RRRRRRRGRE(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRl|s					cBseZdZddZdZdZdZddZdZ	dZ
dedZdded	Z
dded
ZdZdZd
ZdZdZRS(sDA collection of active distributions on sys.path (or a similar list)cCs^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)R1Rt	add_entry(RRtentry((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__init__s				
cCsT|jj|g|jj|x*t|tD]}|j||tq3WdS(sAdd 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
setdefaultRRRKRtaddR(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs
cCs|jj|j|kS(s9True if `dist` is the active distribution for its project(RRR$(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__contains__scCsG|jj|j}|dk	r?||kr?t||n|SdS(sFind 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(RRR$R)RV(RtreqR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs
ccsgx`|D]X}|j|}|dkrGx4|jD]}|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(R?R)tvalues(RR5R
RRtep((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRAs
cCsQtjdj}|d}|j||d<|j|dj||dS(s?Locate distribution for `requires` and run `script_name` scriptiR~iN(R1RRR"R:R;(RtrequiresRRR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR;s



ccs[i}xN|jD]C}x:|j|D]+}||kr$d||<|j|Vq$q$WqWdS(sYield 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$((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__iter__s
cCs|r|j|j|n|dkr4|j}n|jj|g}|jj|jg}|j|jkrwdS||j|j<|j|kr|j|jn|j|kr|j|jn|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.  If it's added, any
        callbacks registered with the ``subscribe()`` method will be called.
        N(
t	insert_onRR)tlocationRRR$RRt
_added_new(RRRtinserttkeystkeys2((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRsc
Cszt|ddd}i}i}g}xH|ru|jd}t|rg|rgtjd}n||kryq.n|j|j}	|	dkr$|jj|j}	|	dkr|dkrt	|j
}n|j|||}	||j<|	dkrt|qn|j
|	n|	|krBt|	|n|j|	j|jdddt||<q.W|S(sList 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``.
        Niit
distribute(tlisttpopt_override_setuptoolsRSRRR$R)RRORt
best_matchRWRRVtextendRtextrasR(
Rtrequirementstenvt	installertreplacementt	processedtbesttto_activateRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytresolve s2	 &cCs5t|}|ji}i}|dkrJt|j}||7}n
||}|jg}	t|	j|x|D]}
x||
D]}|jg}y|	j	|||}
Wn*t
k
r}|||<|rqq
PqXt|	j|
|jtj
|
PqWqzWt|}|j||fS(sbFind all activatable distributions in `plugin_env`

        Example usage::

            distributions, errors = working_set.find_plugins(
                Environment(plugin_dirlist)
            )
            map(working_set.add, distributions)  # add plugins+libs to sys.path
            print 'Could not load', errors        # display 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(RtsortR)RORR}tmapRtas_requirementRRUR#tdicttfromkeys(Rt
plugin_envtfull_envRtfallbacktplugin_projectst
error_infot
distributionsRt
shadow_settproject_nameRRt	resolveesR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytfind_pluginsRs4#




	
cGs7|jt|}x|D]}|j|qW|S(sEnsure 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.
        (RRZR(RRtneededR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR:s

cCsB||jkrdS|jj|x|D]}||q*WdS(sAInvoke `callback` for all distributions (including existing ones)N(RR(RtcallbackR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt	subscribes

cCs"x|jD]}||q
WdS(N(R(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs*|j|jj|jj|jfS(N(RRR RR(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCsH|\}}}}||_|j|_|j|_||_dS(N(RR RRR(Rt.1RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs

N(R~RRR)RRRRRAR;RRRRRR:RRRR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRPs 				
	
3Q					cBseZdZdeedZdZdZddZ	dZ
dZddZddZ
d	Zd
ZdZRS(
s5Searchable snapshot of distributions on a search pathcCs5i|_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. ``'2.4'``);
        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_distmapRR2tpythontscan(Rtsearch_pathR2R	((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs
				cCsC|jdks0|jdks0|j|jkoBt|j|jS(sIs 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	R)t
py_versionR_R2(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytcan_addscCs|j|jj|dS(s"Remove `dist` from the environmentN(RR$tremove(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCsQ|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)R1RRKR(RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR
s

cCsy|j|SWn0tk
rA|j}||jkrBgSnX||jkrv|j|}|j|<t|n|j|S(sKReturn a newest-to-oldest list of distributions for `project_name`
        (RRtlowerRt_sort_dists(RRtdists((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__getitem__s

cCs|j|r{|jr{|jj|jg}||kr{|j||j|jkrxt|j|jqxq{ndS(s<Add `dist` if we ``can_add()`` it and it isn't already addedN(R
thas_versionRRR$RRR(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs
cCsW|j|}|dk	r|Sx%||jD]}||kr-|Sq-W|j||S(sFind 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(RR)R$tobtain(RRRIRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR"s
cCs|dk	r||SdS(sObtain 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)(RtrequirementR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR7s	ccs0x)|jjD]}||r|VqqWdS(s=Yield the unique project names of the available distributionsN(RR(RR$((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRCs
cCs{t|tr|j|nXt|trdxF|D](}x||D]}|j|qFWq5Wntd|f|S(s2In-place addition of a distribution or environmentsCan't add %r to environment(RRRRROR(RtothertprojectR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__iadd__Ks
cCs@|jgdddd}x||fD]}||7}q(W|S(s4Add an environment or distribution to an environmentR2R	N(R}R)(RRtnewR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__add__WsN(R~RRR)R9tPY_MAJORRR
RR
RRRRRRR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyROs				
		cBseZdZRS(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
    (R~RR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRYbs
cBseZdZd
ZdZdZdZdZdZ	dZ
dZdZdd	Z
d
ZdZedZRS(s'Manage resource extraction and packagescCs
i|_dS(N(tcached_files(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRxscCst|j|S(sDoes the named resource exist?(R<R(Rtpackage_or_requirementR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRF{scCst|j|S(s,Is the named resource an existing directory?(R<RG(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRGscCst|j||S(s4Return a true filesystem path for specified resource(R<R(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRDscCst|j||S(s9Return a readable file-like object for specified resource(R<R(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRCscCst|j||S(s%Return specified resource as a string(R<R(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRBscCst|j|S(s1List the contents of the named resource directory(R<RE(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyREscCs]tjd}|jpt}td||f}||_||_||_|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:

  %s

The Python egg cache directory is currently set to:

  %s

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(R1texc_infotextraction_pathRNRYRt
cache_pathtoriginal_error(Rtold_excR terr((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytextraction_errors			cCsa|jpt}tjj||d|}yt|Wn|jnXd|j|<|S(sReturn 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(RRNRRR3RR$R(Rtarchive_nametnamestextract_pathttarget_path((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytget_cache_paths

cCs@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.
        tposiximiN(RR
tstattst_modetchmod(RttempnameRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytpostprocessscCs%|jrtdn||_dS(sSet 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(RR6R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRLs	cCsdS(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((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRM2sN((R~RRR)RRRFRGRDRCRBRER$R)R/RLRRM(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRQts								))	)	cCsytjdSWntk
r"nXtjdkrBtjjdSd}dd|fd|fd|fdd|fg}x|D]\}}d}xn|D]5}|tjkrtjj|tj|}qPqW|rtjj||}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_CACHEtnts~/.python-eggssApplication DatatAPPDATAtUSERPROFILEt	HOMEDRIVEtHOMEPATHtHOMEtWINDIRRsPython-Eggss3Please set the PYTHON_EGG_CACHE enviroment variableN(sAPPDATA((sAPPDATAN(R4(R5R6(R6(sHOME((sHOMEN(R8(	RtenvironRR
Rt
expanduserR)R3tRuntimeError(tapp_datat	app_homesRtsubdirRR$((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRNAs0
			
cCstjdd|S(sConvert 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
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR\jscCs%|jdd}tjdd|S(sConvert an arbitrary string to a standard version string

    Spaces become dots, and all other non-alphanumeric characters become
    dashes, with runs of multiple dashes condensed to a single dash.
    RR-s[^A-Za-z0-9.]+R?(RR@RA(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR]rscCstjdd|jS(sConvert an arbitrary string to a standard 'extra' name

    Any runs of non-alphanumeric characters are replaced with a single '_',
    and the result is always lowercased.
    s[^A-Za-z0-9.]+R(R@RAR(textra((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRb|scCs|jddS(s|Convert a project or version name to its filename-escaped form

    Any '-' characters are currently replaced with '_'.
    R?R(R(R
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRcscBseZdZdZdZdZdZdZdZ	dZ
dZdZe
jdkrodZn	d	Zd
ZdZdZd
ZdZdZdZdZdZdZdZRS(sETry to implement resources and metadata for arbitrary PEP 302 loaderscCs:t|dd|_tjjt|dd|_dS(NRt__file__R(RR)RRRRtmodule_path(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs|j|j|S(N(t_fnRD(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCst|j||S(N(tStringIOR(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs|j|j|j|S(N(t_getRERD(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs|j|j|j|S(N(t_hasRERD(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs%|jo$|j|j|j|S(N(tegg_infoRHRE(RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRsicCs)|js
dS|j|j|j|S(NR(RIRGRE(RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs	cCs2|js
dS|j|j|j|jdS(NRsutf-8(RIRGREtdecode(RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs	cCst|j|S(N(R`R(RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs|j|j|j|S(N(t_isdirRERD(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRGscCs%|jo$|j|j|j|S(N(RIRKRE(RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs|j|j|j|S(N(t_listdirRERD(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyREscCs)|jr%|j|j|j|SgS(N(RIRLRE(RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs	cBsd|}|j|s,ed|n|j|jdd}|jdd}|j|j|}||d<ejj|re	|||nQddl
m}e|d	|j
d|f||<e||d
}|||UdS(Nsscripts/sNo script named %rs
s
s
RCi(tcacheitexec(RRURRRERIRRRtexecfilet	linecacheRMtlenR	tcompile(RRRtscripttscript_texttscript_filenameRMtscript_code((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR;s

%cCstddS(Ns9Can't perform this operation for unregistered loader type(tNotImplementedError(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRHscCstddS(Ns9Can't perform this operation for unregistered loader type(RW(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRKscCstddS(Ns9Can't perform this operation for unregistered loader type(RW(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRLscCs&|r"tjj||jdS|S(Nt/(RRR3R	(RtbaseR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyREscCs2t|jdr"|jj|StddS(Ntget_datas=Can't perform this operation for loaders without 'get_data()'(RRRZRW(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRGsN(i(R~RRR)tegg_nameRIRRRRRRRR1tversion_infoRRRGRRERR;RHRKRLRERG(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRrs0																	cBs eZdZdZdZRS(s&Provider based on a virtual filesystemcCstj|||jdS(N(RrRt
_setup_prefix(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs|j}d}x}||kr|jjdrmtjj||_tjj|d|_	||_
Pn|}tjj|\}}qWdS(Ns.eggsEGG-INFO(RDR)RtendswithRRtbasenameR[R3RItegg_rootR	(RRtoldRY((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR]s		(R~RRRR](((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRss	cBs;eZdZdZdZdZdZdZRS(s6Provides access to package resources in the filesystemcCstjj|S(N(RRR(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRHscCstjj|S(N(RRR(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRKscCs
tj|S(N(Rtlistdir(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRLscCst|j|j|dS(Ntrb(RRERD(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR scCs/t|d}z|jSWd|jXdS(NRc(Rtreadtclose(RRtstream((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRG#s(R~RRRHRKRLRRG(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRts				cBs<eZdZdZZdZdZdZdZ	RS(s.Provider that returns nothing for all requestscCstS(N(R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR+0scCsdS(NR((RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR+1scCsgS(N((RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR+2scCsdS(N((R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR5sN(
R~RRRKRHRGRLR)RDR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRp-s
		cBseZdZd
ZdZdZdZdZdZ	dZ
dZdZd	Z
d
ZdZdZRS(s"Resource support for zips and eggscCs@tj||tj|jj|_|jjtj|_	dS(N(
RsRt	zipimportt_zip_directory_cacheRtarchivetzipinfoRtseptzip_pre(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRBscCs@|j|jr#|t|jStd||jfdS(Ns%s is not a subpath of %s(RRlRQtAssertionError(Rtfspath((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt
_zipinfo_nameGscCsd|j|}|j|jtjrG|t|jdjtjStd||jfdS(Nis%s is not a subpath of %s(RlRR`RRkRQR	Rm(Rtzip_pathRn((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_partsPs

!cCs|jstdn|j|}|j}dj|j||kr~x*|D]}|j||j|qXWn|j||S(Ns5resource_filename() only supported for .egg, not .zipRX(R[RWt_resource_to_zipt_get_eager_resourcesR3Rqt_extract_resourcet
_eager_to_zip(RRRRpteagersR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRYs	
 c	Cs||jkr^x9|j|D]'}|j|tjj||}q#Wtjj|S|j|}|d|d|d}}}|d?d|d?d@|d@|d@d	?|d?d
@|d@dddd
f	}	tj|	}
yt	st
dn|j|j|j
|}tjj|rctj|}|j|krc|j|
krc|Sntddtjj|\}
}tj|
|jj|tj|
t||
|
f|j||yt||Wntjk
rmtjj|rgtj|}|j|kr:|j|
kr:|Stjdkrgt|t|||SnnXWntjk
r|jnX|S(Niiii	iiiiii?iiis>"os.rename" and "os.unlink" are not supported on this platforms	.$extracttdirR2(t_indexRtRRR3RRjttimetmktimeR
RR)R[RqtisfileR+tst_sizetst_mtimet_mkstemptwriteRRZReRR/RterrorR
RR$(RRRpR
tlasttzip_stattttdtsizet	date_timet	timestampt	real_pathR+toutfttmpnam((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRtfsN
 0$


cCsa|jdkrZg}x6dD].}|j|r|j|j|qqW||_n|jS(Nsnative_libs.txtseager_resources.txt(snative_libs.txtseager_resources.txt(RvR)RRR(RRvR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRss
cCsy|jSWntk
ri}x~|jD]s}|jtj}xX|rtjj|d }||kr||j|dPqF|jg||<qFWq+W||_|SXdS(Ni(	t	_dirindextAttributeErrorRjR	RRkR3RR(RtindRtpartstparent((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRxs
		cCs.|j|}||jkp-||jkS(N(RoRjRx(RRnRp((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRHscCs|j||jkS(N(RoRx(RRn((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRKscCs%t|jj|j|dS(N((RRxRRo(RRn((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRLscCs|j|j|j|S(N(RoRER`(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRuscCs|j|j|j|S(N(RoRERD(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRrsN(R~RRR)RvRRoRqRRtRsRxRHRKRLRuRr(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRu=s						
	<							cBs2eZdZdZdZdZdZRS(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.
    cCs
||_dS(N(R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs
|dkS(NsPKG-INFO((RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCsH|dkr8t|jd}|j}|j|StddS(NsPKG-INFOtrUs(No metadata except PKG-INFO is available(RRRdReR(RR
tftmetadata((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs
cCst|j|S(N(R`R(RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs(R~RRRRRR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRms

			cBseZdZdZRS(sqMetadata 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)
    cCs||_||_dS(N(RDRI(RRRI((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR%s	(R~RRR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRnscBseZdZdZRS(s Metadata provider for .egg filescCsstj|j|_|jtj|_||_|jrYtj	j
|j|j|_n|j|_|jdS(s-Create a metadata provider from a zipimporterN(
RgRhRiRjRRkRlRtprefixRR3RDR](Rtimporter((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR-s		!(R~RRR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRo*st
ImpWrappercBs&eZdZddZddZRS(s>PEP 302 Importer that wraps Python's "normal" import algorithmcCs
||_dS(N(R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR=scCs|jdd}||kr2|jdkr2dS|jdkrJd}n|jg}ytj||\}}}Wntk
rdSXt|||S(NR-i(R	RR)timptfind_moduleRt	ImpLoader(RtfullnameRtsubnametfileRtetc((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR@s	
N(R~RRR)RR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR:sRcBs eZdZdZdZRS(s<PEP 302 Loader that wraps Python's "normal" import algorithmcCs||_||_||_dS(N(RRR(RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRRs		cCsFz%tj||j|j|j}Wd|jrA|jjnX|S(N(Rtload_moduleRRRRe(RRtmod((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRWs
%	(R~RRRR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyROs	cCsytj|}WnPtk
rcx@tjD]+}y||}Wntk
rTq+XPq+Wd}nXtjj|||dkryt|}Wqtk
rqXn|S(sRetrieve a PEP 302 "importer" for the given path item

    If there is no importer, this returns a wrapper around the builtin import
    machinery.  The returned importer is only cached if it was created by a
    path hook.
    N(R1tpath_importer_cacheRt
path_hooksRR)RR(t	path_itemRthook((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRzcs"



(RztImpImporterRt_distribution_finderscCs|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((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRvscCs+t|}tt|}||||S(s.Yield distributions accessible via `path_item`(RzRR(RtonlyRtfinder((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRKsccst|}|jdr2tj|d|Vn|r<dSxf|jdD]U}|jdrLtjj||}x(t	t
j||D]}|VqWqLqLWdS(NsPKG-INFORRXs.egg(RoRRRt
from_filenameRER^RRR3tfind_in_zipRgtzipimporter(RRRRtsubitemtsubpathR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscOsEyddlmaWn!tk
r7ddlmanXt||S(s)Thunk to load the real StringIO on demandi(RF(t	cStringIORFR(R*R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRFs

cCsdS(N(((RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytfind_nothingsc
	cst|}tjj|rtj|tjr|jjdrwtj	|dt
|tjj|dVqx^tj|D]J}|j}|jdr
tjj||}tjj|rt
||}nt
|}tj|||dtVq|rN|jdrNxttjj||D]}|Vq<Wq|r|jdrxjttjj||D]J}|jsqnx.ttjj||jD]}	|	VqWPqWqqWndS(s6Yield distributions accessible on a sys.path directorys.eggRsEGG-INFOs	.egg-infot
precedences	.egg-linkN(t_normalize_cachedRRRtaccesstR_OKRR^RRRRnR3RbRmt
from_locationRjRKRtstriptrstrip(
RRRRRtfullpathRRtlineR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytfind_on_paths2'	 ""(	t_namespace_handlerst_namespace_packagescCs|t|<dS(sRegister `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(R(Rtnamespace_handler((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRwscCs
t|}|dkrdS|j|}|dkr;dStjj|}|dkrtj|}tj|<g|_t	|n!t
|dstd|ntt
|}|||||}|dk	r	|j}|j||j|||_n|S(sEEnsure that named package includes a subpath of path_item (if needed)t__path__sNot a package:N(RzR)RR1RRttypest
ModuleTypeRt_set_parent_nsRRRRRR(tpackageNameRRRRthandlerRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt
_handle_nss*	
	

cCstjz|tkrdStjd}}d|krdj|jdd }t||tkrxt	|nytj
|j}Wqtk
rt
d|qXntj|gj|tj|gx|D]}t||qWWdtjXdS(s9Declare that package 'packageName' is a namespace packageNR-isNot a package:(Rtacquire_lockRR1RR)R3R	RHRRRRRRRRtrelease_lock(RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRHs&




cCsbtjzFx?tj|dD]+}t||}|r t||q q WWdtjXdS(sDEnsure that previously-declared namespace packages include path_itemN((RRRRRRyR(RRtpackageR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRy(s
cCs`tjj||jdd}t|}x+|jD]}t||kr8Pq8q8W|SdS(sBCompute an ns-package subpath for a filesystem or zipfile importerR-iN(RRR3R	RR(RRRRRt
normalizedR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytfile_ns_handler2s"cCsdS(N(R)(RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytnull_ns_handlerBscCstjjtjj|S(s1Normalize a file/dir name for comparison purposes(RRtnormcasetrealpath(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyReHscCs9y||SWn&tk
r4t|||<}|SXdS(N(RRe(RRtresult((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRLs

cCsU|jd}|j}|rQdj|}ttj||tj|ndS(NR-(R	RR3tsetattrR1R(RRR
R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRSs
ccst|trSxn|jD]0}|j}|r|jdr|VqqWn-x*|D]"}xt|D]}|VqmWqZWdS(sAYield non-empty/non-comment lines of a ``basestring`` or sequencet#N(RRt
splitlinesRRR`(tstrststss((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR`[s
s
\s*(#.*)?$s\s*\\\s*(#.*)?$s\s*((\w|[-.])+)s!\s*(<=?|>=?|==|!=)\s*((\w|[-.])+)s\s*,s\s*\[s\s*\]s\w+(\.\w+)*$sL(?P<name>[^-]+)( -(?P<ver>[^-]+) (-py(?P<pyver>[^-]+) (-(?P<plat>.+))? )? )?s(\d+ | [a-z]+ | \.| -)tctpretpreviewsfinal-R?trct@tdevccsnxbtj|D]Q}t||}|dkr7qn|d dkrX|jdVqd|VqWdVdS(	NRR-it
0123456789it*s*final(RR-(tcomponent_reR	Rtzfill(Rtpart((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_parse_version_partsxs
cCssg}x`t|jD]L}|jdrXx'|rT|ddkrT|jq1Wn|j|qWt|S(sConvert a version string to a chronologically-sortable key

    This is a rough cross between distutils' StrictVersion and LooseVersion;
    if you give it versions that would work with StrictVersion, then it behaves
    the same; otherwise it acts like a slightly-smarter LooseVersion. It is
    *possible* to create pathological version coding schemes that will fool
    this parser, but they should be very rare in practice.

    The returned value will be a tuple of strings.  Numeric portions of the
    version are padded to 8 digits so they will compare numerically, but
    without relying on how numbers compare relative to strings.  Dots are
    dropped, but dashes are retained.  Trailing zeros between alpha segments
    or dashes are suppressed, so that e.g. "2.4.0" is considered the same as
    "2.4". Alphanumeric parts are lower-cased.

    The algorithm assumes that strings like "-" and any alpha string that
    alphabetically follows "final"  represents a "patch level".  So, "2.4-1"
    is assumed to be a branch or patch of "2.4", and therefore "2.4.1" is
    considered newer than "2.4-1", which in turn is newer than "2.4".

    Strings like "a", "b", "c", "alpha", "beta", "candidate" and so on (that
    come before "final" alphabetically) are assumed to be pre-release versions,
    so that the version "2.4" is considered newer than "2.4a1".

    Finally, to handle miscellaneous cases, the strings "pre", "preview", and
    "rc" are treated as if they were "c", i.e. as though they were release
    candidates, and therefore are not as new as a version string that does not
    contain them, and "dev" is replaced with an '@' so that it sorts lower than
    than any other pre-release tag.
    Rit00000000(RRRRRttuple(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR[scBseZdZd	d
ddZdZdZedddZdddZ	ddZ
ee
Z
ddZeeZddZ
ee
Z
RS(s3Object representing an advertised importable objectcCsnt|std|n||_||_t||_tjddj|j	|_	||_
dS(NsInvalid module namesx[%s]t,(tMODULER6R
tmodule_nameRtattrsRSRR3RR(RR
RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs		"cCsfd|j|jf}|jr<|ddj|j7}n|jrb|ddj|j7}n|S(Ns%s = %st:R-s [%s]R(R
RRR3R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__str__s		cCsdt|S(NsEntryPoint.parse(%r)(R(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs|r|j||nt|jttdg}xN|jD]C}yt||}WqDtk
rtd||fqDXqDW|S(NR~s%r has no %r attribute(R:RRRRRRR(RR:RRRtattr((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytloads!
cCsW|jr%|jr%td|nttjtj|jj|j||dS(Ns&Can't require() without a distribution(RRRXRRIRRR(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR:s	cCsyd	}}|jdd\}}d|krz|jdd\}}tjd|}|jrntn|j}nd|kr|jdd\}}t|jstn|jjd}nWn tk
rtd|n#X||j|j|||SdS(
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
        t=it[sx[RR-s9EntryPoint must be in 'name=module:attrs [extras]' formatN((	R	RSRtspecsR6RRRR(tclstsrcRRRR
tvalueR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs&

			

cCst|std|ni}xZt|D]L}|j||}|j|krptd||jn|||j<q1W|S(sParse an entry point groupsInvalid group namesDuplicate entry point(RR6R`RR
(RR5tlinesRtthisRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytparse_groupscCst|tr|j}nt|}i}x~|D]v\}}|dkrj|s[q7ntdn|j}||krtd|n|j|||||<q7W|S(s!Parse a map of entry point groupss%Entry points must be listed in groupssDuplicate group nameN(RRtitemsRaR)R6RR(RtdataRtmapsR5R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt	parse_maps((N(R~RRR)RRRRRR:RtclassmethodRR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRTs			
	
cCs?|s
dSt|}|djdr;t|d dS|S(NRismd5=(R(RRR(Rtparsed((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_remove_md5_fragment#scBseZdZd d d d ed edZd dZeeZe	dZ
dZdZdZ
dZdZd	Zd
ZdZe	eZdZe	eZd
Ze	eZdZe	eZd!dZdZd dZdZdZdZdZd dZeeZdZdZd dZ dZ!d dZ"dZ#dZ$dZ%dZ&e	e&Z&RS("s5Wrap an actual or potential sys.path entry w/metadatacCsjt|pd|_|dk	r3t||_n||_||_||_||_|p`t	|_
dS(NtUnknown(R\RR)R]t_versionRR2RRRqt	_provider(RRRRRRR2R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR.s				cKsdgd\}}}}tjj|\}}	|	jdkrt|}
|
r|
jdddd\}}}}qn|||d|d	|d
|d||S(
Nis.eggs	.egg-infoR
tvertpyverR7RRRR2(s.eggs	.egg-info(R)RRtsplitextRtEGG_NAMER5(RRR_RRRRRR2textR0((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR<s$cCs7t|dd|j|jt|j|j|jfS(Ntparsed_version((RRR$RRRR2(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR+MscCs
t|jS(N(thashthashcmp(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__hash__VscCs|j|jkS(N(R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__lt__WscCs|j|jkS(N(R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__le__YscCs|j|jkS(N(R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__gt__[scCs|j|jkS(N(R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__ge__]scCs&t||jstS|j|jkS(N(RR}RR(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__eq___scCs||kS(N((RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__ne__dscCs:y|jSWn(tk
r5|jj|_}|SXdS(N(t_keyRRR(RR$((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR$ls

cCs:y|jSWn(tk
r5t|j|_}|SXdS(N(t_parsed_versionRR[R(Rtpv((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRus

cCsy|jSWn{tk
rxk|jdD]G}|jjdr+t|jdddj|_|jSq+Wtd|nXdS(NsPKG-INFOsversion:Ris.Missing 'Version:' header and/or PKG-INFO file(	RRt
_get_metadataRRR]R	RR6(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs
%cCsy|jSWntk
rigd6}|_xhdD]`}xWt|j|D]@\}}|rst|}n|j|gjt|qRWq6W|SXdS(Nsrequires.txtsdepends.txt(srequires.txtsdepends.txt(	t_Distribution__dep_mapRR)RaRRbRRRZ(RtdmR
RBtreqs((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_dep_maps

"'cCs|j}g}|j|jddxS|D]K}y|j|t|Wq/tk
rytd||fq/Xq/W|S(s@List of Requirements needed for this distro if `extras` are useds%s has no such extra feature %rN((RRRR)RbRRX(RRRtdepsR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs	

ccs5|j|r1x|j|D]}|VqWndS(N(RR(RR
R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCs^|dkrtj}n|j||tjkrZt|jtt|jdndS(s>Ensure distribution is importable on `path` (default=sys.path)snamespace_packages.txtN(	R)R1RRRyRRRHR(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytactivates

cCsOdt|jt|j|jp'tf}|jrK|d|j7}n|S(s@Return what this distribution's standard .egg filename should bes
%s-%s-py%sR?(RcRRRRR2(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR[s	cCs(|jrd||jfSt|SdS(Ns%s (%s)(RR(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs	cCsMyt|dd}Wntk
r/d}nX|p9d}d|j|fS(NRs[unknown version]s%s %s(RR)R6R(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRs

cCs+|jdrt|nt|j|S(sADelegate all unrecognized public attributes to .metadata providerR(RRRR(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt__getattr__scKs(|jt|tjj|||S(N(RRRRR_(RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCstjd|j|jfS(s?Return a ``Requirement`` that matches this distribution exactlys%s==%s(RSRRR(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRscCsD|j||}|dkr:td||ffn|jS(s=Return the `name` entry point of `group` or raise ImportErrorsEntry point %r not foundN(R@R)RR(RR5R
R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR>scCscy
|j}Wn3tk
rBtj|jd|}|_nX|dk	r_|j|iS|S(s=Return the entry point map for `group`, or the full entry mapsentry_points.txtN(t_ep_mapRRTRRR)R(RR5tep_map((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR?s

 cCs|j|j|S(s<Return the EntryPoint object for `group`+`name`, or ``None``(R?R(RR5R
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR@scCs|p|j}|jdkrpy
|j}Wntk
rDd}nXd|krptdt|jqpn|szdS|tjkr|jnt|}t	jj
|}tt|}d}xzt
|D][\}}	|	|krPq|	|kr|jtkr|j|||j||PqqW|j|dSxFy|j||d}
Wntk
rwPqIX||
=||
=|
}qIdS(s@Insert self.location in path before its nearest parent directoryt
setuptoolsRs0.7sLA 0.7-series setuptools cannot be installed with distribute. Found one at %sNi(RRRR6RR1Rtcheck_version_conflictRRRRR)t	enumerateRRfRRtindex(RRtlocRtnloctbdirtnpathtbptpRtnp((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR	sF





	c
Cs|jdkrdStj|jd}t|j}x|jdD]}|tjksJ||ksJ|tkr}qJn|d	krqJnt	tj|dd}|rt|j|sJ|j|jrqJntd|||jfqJWdS(
NRsnamespace_packages.txts
top_level.txtt
pkg_resourcesRtsiteRCsIModule %s was already imported from %s, but %s is being added to sys.path(R#s
setuptoolsssite(
R$RRRReRR1RRRR)Rt
issue_warning(RtnspRtmodnametfn((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR?	s"cCs8y|jWn&tk
r3tdt|tSXtS(NsUnbuilt egg for (RR6R%RRR(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRU	s
cKsMx*dD]"}|j|t||d	qW|jd|j|j|S(
s@Copy this distribution, substituting in any changed keyword argsRRRR2RRR(sproject_namesversions
py_versionsplatformslocations
precedenceN(RRR)RR}(RRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pytclone]	s
 cCs g|jD]}|r
|^q
S(N(R(Rtdep((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRk	sN(('R~RRR)RRfRRRtpropertyRRRRRRR	R
R$RRRRRRR[RRRRRR>R?R@RRRR)R(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRR,sR
												
									4				cOs{d}t}y-x&tj|j|kr:|d7}qWWntk
rOnXddlm}|d|d||dS(Nii(twarnt
stacklevel(RR1RRR6twarningsR,(R*RtlevelRR,((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR%p	s	
c
#s#tt|fd}xD]}t|}|sRtd|n|jd}|j}g}t||}|r|j}|tt||dd\}}}n|tt	||d	d\}}}g|D]\}}	|t
|	f^q}t|||Vq(WdS(
sYield ``Requirement`` objects for each specification in `strs`

    `strs` must be an instance of ``basestring``, or a (possibly-nested)
    iterable thereof.
    cs?g}x|||s
t||r`yj}d}Wq`tk
r\tdq`Xn|||}|std|d|d||n|j|j||j}t||}|r|j}q	|||s	td|d||q	q	W|||}|r2|j}n|||fS(Nis+\ must not appear on the last nonblank lines	Expected s intatsExpected ',' or end-of-list in(tCONTINUEtnextt
StopIterationR6RR5tendtCOMMA(tITEMt
TERMINATORRR!tgroupst	item_nameRR0(R(s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt	scan_list	s0

$sMissing distribution specis'extra' nameisversion specN(i(ii(titerR`tDISTROR6R5R4tOBRACKETtCBRACKETtVERSIONtLINE_ENDR]RS(
RR:RR0RR!RRtopR((Rs1/usr/lib/python2.7/dist-packages/pkg_resources.pyRZ	s" 
$$+cCs\g|D]}|j|f^q}|jg|D]\}}|^q3|ddd<dS(Ni(RR(RRttmpthcR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR	s"
cBsVeZdZdZdZdZdZdZedZ	e
e	Z	RS(c
Cs|t||_}||j|_|_g|D](\}}t|t|||f^q6}|jg|D]\}}}}	||	f^qu|_|t	t
t||_|_
|jt	g|D]\}}}}	||f^qt|j
f|_t|j|_dS(s>DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!N(R\tunsafe_nameRRR$R[t
state_machineRRRRRbRRt	frozensetthashCmpRt_Requirement__hash(
RRRRRARRRttransR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR	s5
."4cCsgdjg|jD]}dj|^q}dj|j}|rSd|}nd|j||fS(NRRs[%s]s%s%s%s(R3RRR(RRRR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR	s
.
cCst|to|j|jkS(N(RRSRG(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR		sc	Cst|tr=|j|jkr%tS|jr[|j}q[nt|tr[t|}nd}d}x|jD]{\}}}}||||}|dkrtS|dkrt	S|dkrt	}qt|dks|dkrtt}qtqtW|dkrt	}n|S(NcSs||k||kS(N((tatb((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR+
stFtTt+R?(
RRRR$RRRRR[R)R(	RRRtcompareRRIRARtaction((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR	s,			
	cCs|jS(N(RH(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR
scCsdt|S(NsRequirement.parse(%r)(R(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR
scCstt|}|rt|dkr}|d}t|rv|rvttd}t|dkrr|dS|S|Sntd|ntd|dS(NiiRsExpected only one requirementsNo requirements found(RRZRQRR6(RRRtfounded_reqR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR
s
(R~RRRR	RRRRRtstaticmethod(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRS	s						s--Tt<sT-Ts<=sF+Ft>sT+Fs>=sT..s==sF++s!=cCsc|jdkr_t|js"tSx6|jD]+\}}|dkr,d|krWtSq,q,WtStS(sReturn True when distribute wants to override a setuptools dependency.

    We want to override when the requirement is setuptools and the version is
    a variant of 0.6.

    Rs==s>=RTs0.7(s==s>=RT(RRQRRR(Rt
comparatorR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR5
scCs:t|ts3d|tfdY}|jdS|jS(s&Get an mro for a type or classic classRcBseZRS((R~R(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRL
si(Rttypetobjectt__mro__(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_get_mroI
scCsAx:tt|dt|D]}||kr||SqWdS(s2Return an adapter factory for `ob` from `registry`R}N(RYRRV(tregistryR%R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRP
s%cCs8tjj|}tjj|s4tj|ndS(s1Ensure that the parent directory of `path` existsN(RRRRtmakedirs(RR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRdW
sccsd}g}xt|D]y}|jdr|jdrs|sI|rW||fVn|dd!j}g}qtd|q|j|qW||fVdS(srSplit 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``.
    Rt]iisInvalid section headingN(R)R`RR^RR6R(RtsectiontcontentR((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyRa]
s	cOsDddlm}tj}ztt_|||SWd|t_XdS(Ni(tmkstemp(ttempfileR_RRtos_open(R*RR_told_open((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR~v
s		cCs@x9ttD]+}|jds
tt|||<q
q
WdS(NR(Rwt_managerRR(RR
((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt_initialize
sRW(t__requires__cCs
|jS(N(R(R((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyR+
s(RR1RRgRyR@RRRRRFt	NameErrortsetsRRRRRRR
RRRRatos.pathRR	t_distributeRRRRRR!R&R'R(t
_sget_nonet
_sset_noneR9t__all__t	ExceptionRURVRWRXRRRRfRgRhRiRjRxR<R4RR.RRR/RR^R_R;R{R=R>R)R?R@RkRlRWRPROR|R;RYRQRNR\R]RbRcRrRsRtRVRpRqRuRRmRnRoRRRztpkgutilRRvRKRRFRRRwRRHRyRRReRRR`R0R@R1R<R?R5R=R>RtVERBOSEt
IGNORECASERRRRRR[RTRRRR%RZRRSRERRYRRdRaR~RcRdRt__main__ReRIR:RRRRRRRRARRJR(((s1/usr/lib/python2.7/dist-packages/pkg_resources.pyt<module>sT



	
							
	+								
						3				 ),	)		
			d
	,	
	
		
#
			 
	
	
			,		(w		E	#	=	E