ok

Mini Shell

Direktori : /opt/alt/python27/lib/python2.7/site-packages/setuptools/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyo

�
0��`c@s�dZddlZddlZddlZddlZddlmZddlm	Z	ddl
mZddlm
Z
mZddlZddlmZddlmZmZmZdd	lmZd
ddd
dddgZejjZdZeZdgZ de!fd��YZ"de"fd��YZ#e"j$Z%ej&j'Z'ee�Zd
efd��YZeej&_d�Z(ej)d�Z*e*ej+_*dS(s@Extensions to the 'distutils' for large or complex distributionsi����N(tCommand(tconvert_path(tfnmatchcase(tfilterfalsetmap(t	Extension(tDistributiontFeaturet_get_unpatched(tRequiretsetupRRRRR	t
find_packagess
lib2to3.fixest
PackageFindercBskeZeddd	d��Zed��Zed��Zed��Zed��Zed��Z	RS(
t.t*cCsp|jt|��}|j|�}|j|�}|jdd|�}t||�}t||�}t|�S(sAReturn a list all Python packages found within directory 'where'

        'where' should be supplied as a "cross-platform" (i.e. URL-style)
        path; it will be converted to the appropriate local path syntax.
        'exclude' is a sequence of package names to exclude; '*' can be used
        as a wildcard in the names, such that 'foo.*' will exclude all
        subpackages of 'foo' (but not 'foo' itself).

        'include' is a sequence of package names to include.  If it's
        specified, only the named packages will be included.  If it's not
        specified, all found packages will be included.  'include' can contain
        shell style wildcard patterns just like 'exclude'.

        The list of included packages is built up first and then any
        explicitly excluded packages are removed from it.
        tez_setups*__pycache__(t_find_packages_iterRtrequire_parentst
_build_filtertfilterRtlist(tclstwheretexcludetincludetouttincludestexcludes((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pytfind#sccs]g}xP|D]H}|jd�\}}}|rC||krCq
n|j|�|Vq
WdS(s�
        Exclude any apparent package that apparently doesn't include its
        parent.

        For example, exclude 'foo.bar' if 'foo' is not present.
        R
N(t
rpartitiontappend(tpackagestfoundtpkgtbasetseptchild((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyR=s

ccszd�}xjtj|dt�D]S\}}}t||�|(x1|D])}tjjtjj||�|�VqEWqWdS(sF
        Return all dirs in base_path that might be packages.
        cSs
d|kS(NR
((tname((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyt<lambda>RttfollowlinksN(tostwalktTrueRtpathtrelpathtjoin(t	base_paththas_dottroottdirstfilestdir((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyt_candidate_dirsMs
	%
cs&�j��}��fd�|D�S(Nc3sE|];}�jtjj�|��r|jtjjd�VqdS(R
N(t_looks_like_packageR)R,R.treplaceR#(t.0R,(R/R(sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pys	<genexpr>^s(R5(RR/t
candidates((R/RsD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyRZscCstjjtjj|d��S(Ns__init__.py(R)R,tisfileR.(R,((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyR6cscs
�fd�S(s�
        Given a list of patterns, return a callable that will be true only if
        the input matches one of the patterns.
        cst�fd��D��S(Nc3s!|]}t�d|�VqdS(tpatN(R(R8R;(R%(sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pys	<genexpr>ms(tany(R%(tpatterns(R%sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyR&mR'((R=((R=sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyRgs((R(
t__name__t
__module__tclassmethodRtstaticmethodRR5RR6R(((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyR"s
	tPEP420PackageFindercBseZed��ZRS(cCstS(N(R+(R,((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyR6ps(R>R?RAR6(((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyRBoscBs,eZejZeZd�Zdd�ZRS(cKs'tj||�t|�j|�dS(sj
        Construct the command for dist, updating
        vars(self) with any keyword parameters.
        N(t_Commandt__init__tvarstupdate(tselftdisttkw((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyRDsicKs,tj|||�}t|�j|�|S(N(RCtreinitialize_commandRERF(RGtcommandtreinit_subcommandsRItcmd((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyRJ�s(R>R?RCt__doc__tFalsetcommand_consumes_argumentsRDRJ(((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyRzs		cCs2d�tj|dt�D�}ttjj|�S(s%
    Find all files under 'path'
    css:|]0\}}}|D]}tjj||�VqqdS(N(R)R,R.(R8R"R2R3tfile((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pys	<genexpr>�sR((R)R*R+RR,R:(R,tresults((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyt_find_all_simple�scCsRt|�}|tjkrHtjtjjd|�}t||�}nt|�S(s�
    Find all files under 'dir' and return the list of full filenames.
    Unless dir is '.', return full filenames with dir prepended.
    tstart(	RSR)tcurdirt	functoolstpartialR,R-RR(R4R3tmake_rel((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pytfindall�s
(,RNR)RVtdistutils.coret	distutilstdistutils.filelistRRCtdistutils.utilRtfnmatchRtsetuptools.extern.six.movesRRtsetuptools.versiont
setuptoolstsetuptools.extensionRtsetuptools.distRRRtsetuptools.dependsR	t__all__tversiont__version__tNonetbootstrap_install_fromR+trun_2to3_on_docteststlib2to3_fixer_packagestobjectRRBRRtcoreR
RSRURYtfilelist(((sD/opt/alt/python27/lib/python2.7/site-packages/setuptools/__init__.pyt<module>s8		M		

Zerion Mini Shell 1.0