eaiovnaovbqoebvqoeavibavo  fc@s~ddlmZmZddlZddlmZddlmZddlmZddl Z dej efdYZ dS(i(tlogtdir_utilN(tCommand(t namespaces(tunpack_archivetinstall_egg_infocBsJeZdZdZd gZdZdZdZdZdZ 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|jjd}|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|jdtjj|jrTtjj|j rTtj|jd|jn;tjj |jr|j tj |jfd|jn|jst j |jn|j |jdd|j|jf|jdS(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}tjj|dS(Ncs[x1dD])}|j|s,d||krdSqWjj|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