N3{Yc@sfdZddlZddlZddlZddlZddlmZddlm Z ddl Z ddl m Z ddlmZmZmZddlmZdd d d d d dgZe jjZdZeZdgZdddZejjZeeZd efdYZeej_ejdZ e ej!_ e"ede#ej$j%dZ&dS(s@Extensions to the 'distutils' for large or complex distributionsiN(tCommand(t convert_path(t Extension(t DistributiontFeaturet_get_unpatched(tRequiretsetupRRRRRt find_packagess lib2to3.fixest.c Cs:g}t|dfg}x|r|jd\}}xtj|D]}tjj||}d|kotjj|otjjtjj|d}|rI|j|||j|||dfqIqIWqWxSt |dgD]>}ddl m } g|D]} | | |s| ^q}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 ( twheretexcludetouttstacktprefixtnametfntlooks_like_packagetpatR titem((sD/opt/alt/python34/lib/python3.4/site-packages/setuptools/__init__.pyRs   !&,cBs,eZejZeZdZddZRS(cKsAtj||x*|jD]\}}t|||qWdS(N(t_Commandt__init__titemstsetattr(tselftdisttkwtktv((sD/opt/alt/python34/lib/python3.4/site-packages/setuptools/__init__.pyR"CsicKsFtj|||}x*|jD]\}}t|||q"W|S(N(R!treinitialize_commandR#R$(R%tcommandtreinit_subcommandsR'tcmdR(R)((sD/opt/alt/python34/lib/python3.4/site-packages/setuptools/__init__.pyR*Is(t__name__t __module__R!t__doc__tFalsetcommand_consumes_argumentsR"R*(((sD/opt/alt/python34/lib/python3.4/site-packages/setuptools/__init__.pyR>s  cCsg}xtj|D]\}}}|tjksM|jtjtjrZ|d}n|rg|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((sD/opt/alt/python34/lib/python3.4/site-packages/setuptools/__init__.pytfindallQs( + tdont_write_bytecodetPYTHONDONTWRITEBYTECODE(('R0Rtsystdistutils.coret distutilstdistutils.filelistRR!tdistutils.utilRtsetuptools.versiont setuptoolstsetuptools.extensionRtsetuptools.distRRRtsetuptools.dependsRt__all__tversiont __version__tNonetbootstrap_install_fromtTruetrun_2to3_on_docteststlib2to3_fixer_packagesRtcoreRR4R?tfilelisttgetattrtbooltenvirontgett_dont_write_bytecode(((sD/opt/alt/python34/lib/python3.4/site-packages/setuptools/__init__.pyts2