Hacked By AnonymousFox

Current Path : /usr/lib/python2.7/site-packages/pkg_resources/extern/
Upload File :
Current File : //usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pyc

�
�fc@s<ddlZddd��YZd	Zeee�j�dS(
i����NtVendorImportercBsJeZdZddd�Zed��Zdd�Zd�Zd�Z	RS(s�
    A PEP 302 meta path importer for finding optionally-vendored
    or otherwise naturally-installed packages from root_name.
    cCs7||_t|�|_|p-|jdd�|_dS(Ntexternt_vendor(t	root_nametsettvendored_namestreplacet
vendor_pkg(tselfRRR((sA/usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pyt__init__
s	ccs|jdVdVdS(sL
        Search first the vendor package then as a natural package.
        t.tN(R(R((sA/usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pytsearch_pathscCsL|j|jd�\}}}|r)dStt|j|j��sHdS|S(s�
        Return self when fullname starts with root_name and the
        target module is one vendored through this importer.
        R
N(t	partitionRtanytmapt
startswithR(Rtfullnametpathtroottbasettarget((sA/usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pytfind_modulescCs�|j|jd�\}}}x�|jD]l}yR||}t|�tj|}|tj|<tjdkr|tj|=n|SWq)tk
r�q)Xq)Wtdjt	����dS(sK
        Iterate over the search path to locate and load fullname.
        R
is�The '{target}' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.N(ii(
R
RRt
__import__tsystmodulestversion_infotImportErrortformattlocals(RRRRRtprefixtextanttmod((sA/usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pytload_module#s





cCs&|tjkr"tjj|�ndS(sR
        Install this importer into sys.meta_path if not already present.
        N(Rt	meta_pathtappend(R((sA/usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pytinstall@s(N(
t__name__t
__module__t__doc__tNoneR	tpropertyRRR!R$(((sA/usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pyRs	t	packagingt	pyparsingtsixtappdirs((R*R+R,R-(RRtnamesR%R$(((sA/usr/lib/python2.7/site-packages/pkg_resources/extern/__init__.pyt<module>sD

Hacked By AnonymousFox1.0, Coded By AnonymousFox