ó b-äQc@s—ddlZddlZddlZddlmZddlmZdefd„ƒYZgejD]Z e dej krde ^qdej e_dS(iÿÿÿÿN(tinstall(tDistutilsArgErrorRcBs‹eZdZejddgZejddgZdd„fdd„fgZeeƒZ d „Z d „Z d „Z d „Z d „ZRS(s7Use easy_install to install the package, w/dependenciessold-and-unmanageablesTry not to use this!s!single-version-externally-manageds5used by system package builders to create 'flat' eggstinstall_egg_infocCstS(N(tTrue(tself((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pytstinstall_scriptscCstS(N(R(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyRscCs,tj|ƒd|_d|_d|_dS(N(t_installtinitialize_optionstNonetold_and_unmanageablet!single_version_externally_managedt no_compile(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyRs   cCsUtj|ƒ|jr"t|_n/|jrQ|j rQ|j rQtdƒ‚qQndS(NsAYou must specify --record or --root when building system packages(Rtfinalize_optionstrootRR trecordR(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyR s    cCs5|js|jrtj|ƒSd|_d|_dS(Nt(RR Rthandle_extra_pathR t path_filet extra_dirs(R((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyR's  cCs…|js|jrtj|ƒStjdƒ}|jjddƒ}|jj }|dksg|dkrwtj|ƒn |j ƒdS(Nit__name__Rsdistutils.distt run_commands( R R Rtruntsyst _getframet f_globalstgettf_codetco_nametdo_egg_install(Rtcallert caller_modulet caller_name((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyR2s  cCsÉ|jjdƒ}||jddd|jd|jƒ}|jƒd|_|jjtjdƒƒ|j dƒ|jj dƒj g}t j r©|jd t j ƒn||_|jƒdt _ dS( Nt easy_installtargstxRRt.s*.eggt bdist_eggi(t distributiontget_command_classRRtensure_finalizedtalways_copy_fromt package_indextscantglobt run_commandtget_command_objt egg_outputt setuptoolstbootstrap_install_fromtinsertR"RR (RR!tcmdR"((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyRPs$      N(sold-and-unmanageableNsTry not to use this!(s!single-version-externally-managedNs5used by system package builders to create 'flat' eggs(Rt __module__t__doc__Rt user_optionsR tboolean_optionst new_commandstdictt_ncRR RRR(((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyRs      i( R0RR,tdistutils.command.installRRtdistutils.errorsRt sub_commandsR3R:R8(((s>/usr/lib/python2.7/site-packages/setuptools/command/install.pyts $e,