ó 9aÉcc@sŠddlmZmZddlZddlZddlmZddlmZddlm Z ddl Z dej efd„ƒYZ dS(iÿÿÿÿ(tlogtdir_utilN(tCommand(t namespaces(tunpack_archivetinstall_egg_infocBsJeZdZdZd gZd„Zd„Zd„Zd„Zd„Z RS( s.Install an .egg-info directory for the packages install-dir=tdsdirectory to install tocCsd|_d|_d|_dS(N(tNonet install_dirtinstall_layoutt prefix_option(tself((sG/usr/lib/python2.7/dist-packages/setuptools/command/install_egg_info.pytinitialize_optionss  cCs<|jddƒ|jddƒtjdkrB|jddƒn|jdƒ}tjdd|j|jƒjƒd}|j rÔ|j j ƒdkr¦t d ƒ‚n|j j ƒ|_ |j d tj d ƒ}n4|jsd tjkrïn|j d tj d ƒ}|j|_tjj|j|ƒ|_g|_dS(Nt install_libRtinstallR iR tegg_infos .egg-infotdebs"unknown value for --install-layouts-py%stt real_prefix(RR(R R (R R (R(tset_undefined_optionstsyst hexversiontget_finalized_commandt pkg_resourcest DistributionRtegg_namet egg_versionR tlowertDistutilsOptionErrortreplacetPY_MAJORR t__dict__RtsourcetostpathtjoinRttargettoutputs(R tei_cmdtbasename((sG/usr/lib/python2.7/dist-packages/setuptools/command/install_egg_info.pytfinalize_optionss(   cCsß|jdƒtjj|jƒrTtjj|jƒ rTtj|jd|jƒn;tjj |jƒr|j tj |jfd|jƒn|js«t j |jƒn|j |jdd|j|jfƒ|jƒdS(NRtdry_runs Removing sCopying %s to %s((t run_commandR!R"tisdirR$tislinkRt remove_treeR)texiststexecutetunlinkRtensure_directorytcopytreeR tinstall_namespaces(R ((sG/usr/lib/python2.7/dist-packages/setuptools/command/install_egg_info.pytrun2s +&  cCs|jS(N(R%(R ((sG/usr/lib/python2.7/dist-packages/setuptools/command/install_egg_info.pyt get_outputs?scs)‡fd†}tˆjˆj|ƒdS(Ncs“x1dD])}|j|ƒs,d||krdSqWˆjrlˆjd krl|jdƒrltjdƒdSˆjj|ƒtjd||ƒ|S( Ns.svn/sCVS/t/Rs SOURCES.txtsSkipping SOURCES.txtsCopying %s to %s(s.svn/sCVS/(R(t startswithRR RtinfoR%tappendtdebug(tsrctdsttskip(R (sG/usr/lib/python2.7/dist-packages/setuptools/command/install_egg_info.pytskimmerDs ' (RR R$(R R>((R sG/usr/lib/python2.7/dist-packages/setuptools/command/install_egg_info.pyR2Bs(s install-dir=Rsdirectory to install to( t__name__t __module__t__doc__t descriptiont user_optionsR R(R4R5R2(((sG/usr/lib/python2.7/dist-packages/setuptools/command/install_egg_info.pyR s    ( t distutilsRRR!Rt setuptoolsRRtsetuptools.archive_utilRRt InstallerR(((sG/usr/lib/python2.7/dist-packages/setuptools/command/install_egg_info.pyts