ó Ŕfc@s~ddlmZmZddlZddlmZddlmZddlmZddl 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 tocCs d|_dS(N(tNonet install_dir(tself((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytinitialize_optionsscCs{|jddƒ|jdƒ}tjdd|j|jƒjƒd}|j|_t j j |j |ƒ|_ g|_dS(Nt install_libRtegg_infos .egg-info(RR(tset_undefined_optionstget_finalized_commandt pkg_resourcest DistributionRtegg_namet egg_versionR tsourcetostpathtjoinRttargettoutputs(R tei_cmdtbasename((sG/usr/lib/python2.7/site-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(NR tdry_runs Removing sCopying %s to %s((t run_commandRRtisdirRtislinkRt remove_treeRtexiststexecutetunlinkRtensure_directorytcopytreeRtinstall_namespaces(R ((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytrun!s +&  cCs|jS(N(R(R ((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyt get_outputs.scs)‡fd†}tˆjˆj|ƒdS(Ncs[x1dD])}|j|ƒs,d||krdSqWˆjj|ƒtjd||ƒ|S(Ns.svn/sCVS/t/sCopying %s to %s(s.svn/sCVS/(t startswithRRtappendRtdebug(tsrctdsttskip(R (sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pytskimmer3s  (RRR(R R0((R sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR%1s (s install-dir=Rsdirectory to install to( t__name__t __module__t__doc__t descriptiont user_optionsR RR'R(R%(((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyR s   ( t distutilsRRRt setuptoolsRRtsetuptools.archive_utilRRt InstallerR(((sG/usr/lib/python2.7/site-packages/setuptools/command/install_egg_info.pyts