?Qc@sdZddklZlZddklZlZlZddkZ ddk Z ddk l Z ddklZddklZddkZddkZdZd d d d d ddgZdZeZdgZdddZe iiZeeZd efdYZddkZ ee i_eidZddk Z ee i!_e"edo ei#p$e"ed oei$i%do 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.6tsetupRRRRRt find_packagess lib2to3.fixest.c CsGg}t|dfg}x|o|id\}}xti|D]}tii||}d|joetii|oRtiitii|do0|i|||i|||dfqJqJWqWx`t |dgD]K}ddk l }g} |D]!} || |p | | qq~ }qW|S(sReturn 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 t_[1]titem((s9/usr/lib/python2.6/vendor-packages/setuptools/__init__.pyR s"  "(9cBs,eZeiZeZdZddZRS(cKsAti||x*|iD]\}}t|||qWdS(N(t_Commandt__init__titemstsetattr(tselftdisttkwtktv((s9/usr/lib/python2.6/vendor-packages/setuptools/__init__.pyR#:s icKsFti|||}x*|iD]\}}t|||q"W|S(N(R"treinitialize_commandR$R%(R&tcommandtreinit_subcommandsR(tcmdR)R*((s9/usr/lib/python2.6/vendor-packages/setuptools/__init__.pyR+@s  (t__name__t __module__R"t__doc__tFalsetcommand_consumes_argumentsR#R+(((s9/usr/lib/python2.6/vendor-packages/setuptools/__init__.pyR5s  cCsg}xti|D]\}}}|tijp|ititio|d}n|o4g}|D]}|tii||qo~}n|ittii |qW|S(s^Find all files under 'dir' and return the list of full filenames (relative to 'dir'). i( Rtwalktcurdirt startswithtsepRRtextendtfilterR(tdirt all_filestbasetdirstfilesR tf((s9/usr/lib/python2.6/vendor-packages/setuptools/__init__.pytfindallIs*4 tdont_write_bytecodetPYTHONDONTWRITEBYTECODE(((R1tsetuptools.extensionRRtsetuptools.distRRRtdistutils.coret distutilstsetuptools.commandt setuptoolstsetuptools.dependsRRR"tdistutils.utilRRtsyst __version__t__all__tNonetbootstrap_install_fromtTruetrun_2to3_on_docteststlib2to3_fixer_packagesR tcoreRR5R@tdistutils.filelisttfilelistthasattrRAtenvirontgett_dont_write_bytecodeR2(((s9/usr/lib/python2.6/vendor-packages/setuptools/__init__.pyts6          $