ó ĽœíQc@s—dZddlmZmZddlmZmZmZddlZ ddl Z ddl m Z ddlmZddlmZddlZddlZdZd d d d d ddgZdZeZdgZddd„Ze jjZeeƒZd efd„ƒYZddlZ ee j_ejd„Zddl Z ee j!_e"edƒrbej#s„e"edƒ rej$j%dƒreZ&ne'Z&dS(s@Extensions to the 'distutils' for large or complex distributionsi˙˙˙˙(t ExtensiontLibrary(t DistributiontFeaturet_get_unpatchedN(tRequire(tCommand(t convert_paths0.9.8tsetupRRRRRt find_packagess lib2to3.fixest.c Cs4g}t|ƒdfg}xź|rŮ|jdƒ\}}xštj|ƒD]‰}tjj||ƒ}d|krItjj|ƒrItjjtjj|dƒƒrI|j||ƒ|j|||dfƒqIqIWqWxSt |ƒdgD]>}ddl m }g|D]} || |ƒs | ^q }qîW|S(sReturn 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). tiR s __init__.pytez_setupi˙˙˙˙(t fnmatchcase( RtpoptostlistdirtpathtjointisdirtisfiletappendtlisttfnmatchR ( twheretexcludetouttstacktprefixtnametfntpatR titem((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR s  !&,cBs,eZejZeZd„Zdd„ZRS(cKsAtj||ƒx*|jƒD]\}}t|||ƒqWdS(N(t_Commandt__init__titemstsetattr(tselftdisttkwtktv((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR":sicKsFtj|||ƒ}x*|jƒD]\}}t|||ƒq"W|S(N(R!treinitialize_commandR#R$(R%tcommandtreinit_subcommandsR'tcmdR(R)((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR*@s(t__name__t __module__R!t__doc__tFalsetcommand_consumes_argumentsR"R*(((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyR5s  cCsŻg}x˘tj|ƒD]‘\}}}|tjksM|jtjtjƒrZ|d}n|r‹g|D]}tjj||ƒ^qg}n|jttjj |ƒƒqW|S(s^Find all files under 'dir' and return the list of full filenames (relative to 'dir'). i( Rtwalktcurdirt startswithtsepRRtextendtfilterR(tdirt all_filestbasetdirstfilestf((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pytfindallIs( + tdont_write_bytecodetPYTHONDONTWRITEBYTECODE(((R0tsetuptools.extensionRRtsetuptools.distRRRtdistutils.coret distutilstsetuptools.commandt setuptoolstsetuptools.dependsRRR!tdistutils.utilRRtsyst __version__t__all__tNonetbootstrap_install_fromtTruetrun_2to3_on_docteststlib2to3_fixer_packagesR tcoreRR4R?tdistutils.filelisttfilelistthasattrR@tenvirontgett_dont_write_bytecodeR1(((s7/usr/lib/python2.7/site-packages/setuptools/__init__.pyts6          "