ã“Re› ã @ s~ d d l m Z m Z d d l Z d d l m Z d d l m Z d d l m Z d d l Z Gd d „ d e j
e ƒ Z d S)é )ÚlogÚdir_utilN)ÚCommand)Ú
namespaces)Úunpack_archivec @ sa e Z d Z d Z d Z d g Z d d „ Z d d „ Z d d
„ Z d d „ Z d
d „ Z
d S)Úinstall_egg_infoz.Install an .egg-info directory for the packageúinstall-dir=Údúdirectory to install toc C s
d | _ d S)N)Úinstall_dir)Úself© r
ú™/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/command/install_egg_info.pyÚinitialize_options s z#install_egg_info.initialize_optionsc C s{ | j d d ƒ | j d ƒ } t j d d | j | j ƒ j ƒ d } | j | _ t j j
| j | ƒ | _ g | _
d S)NÚinstall_libr Úegg_infoz .egg-info)r r )Úset_undefined_optionsÚget_finalized_commandÚ
pkg_resourcesÚDistributionÚegg_nameZegg_versionr ÚsourceÚosÚpathÚjoinr ÚtargetÚoutputs)r Zei_cmdÚbasenamer
r
r Úfinalize_options s z!install_egg_info.finalize_optionsc C sÙ | j d ƒ t j j | j ƒ rT t j j | j ƒ rT t j | j d | j ƒn8 t j j | j ƒ rŒ | j
t j | j f d | j ƒ | j s¥ t j
| j ƒ | j
| j f d | j | j f ƒ | j ƒ d S)Nr Údry_runz Removing zCopying %s to %s)Úrun_commandr r Úisdirr Úislinkr Úremove_treer ÚexistsÚexecuteÚunlinkr Úensure_directoryÚcopytreer Zinstall_namespaces)r r
r
r Úrun! s
+# zinstall_egg_info.runc C s | j S)N)r )r r
r
r Úget_outputs. s zinstall_egg_info.get_outputsc s, ‡ f d d † } t ˆ j ˆ j | ƒ d S)Nc s[ x1 d D]) } | j | ƒ s, d | | k r d Sq Wˆ j j | ƒ t j d | | ƒ | S)Nú.svn/úCVS/ú/zCopying %s to %s)r+ r, )Ú
startswithr Úappendr Údebug)ÚsrcÚdstÚskip)r r
r Úskimmer3 s
z*install_egg_info.copytree.