Viewing File: /usr/lib/python3.6/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-36.pyc

3

Xoh@s\ddlmZmZddlZddlmZddlmZddlmZddl	Z	Gdddej
eZdS))logdir_utilN)Command)
namespaces)unpack_archivec@sBeZdZdZdZdgZddZddZd	d
ZddZ	d
dZ
dS)install_egg_infoz.Install an .egg-info directory for the packageinstall-dir=ddirectory to install tocCs
d|_dS)N)install_dir)selfr
&/usr/lib/python3.6/install_egg_info.pyinitialize_optionssz#install_egg_info.initialize_optionscCsV|jdd|jd}tjdd|j|jjd}|j|_tj	j
|j||_g|_
dS)NZinstall_libregg_infoz	.egg-info)rr)Zset_undefined_optionsZget_finalized_command
pkg_resourcesZDistributionZegg_nameZegg_versionrsourceospathjoinrtargetoutputs)rZei_cmdbasenamer
r
rfinalize_optionss
z!install_egg_info.finalize_optionscCs|jdtjj|jr<tjj|jr<tj|j|jdn(tjj	|jrd|j
tj|jfd|j|jsvtj
|j|j
|jfd|j|jf|jdS)Nr)dry_runz	Removing zCopying %s to %s)Zrun_commandrrisdirrislinkrZremove_treerexistsZexecuteunlinkrZensure_directorycopytreerZinstall_namespaces)rr
r
rrun!s
zinstall_egg_info.runcCs|jS)N)r)rr
r
rget_outputs.szinstall_egg_info.get_outputscs fdd}tjj|dS)NcsFx&dD]}|j|s d||krdSqWjj|tjd|||S)N.svn/CVS//zCopying %s to %s)r"r#)
startswithrappendrdebug)srcdstskip)rr
rskimmer3s
z*install_egg_info.copytree.<locals>.skimmer)rrr)rr+r
)rrr1szinstall_egg_info.copytreeN)rr	r
)__name__
__module____qualname____doc__descriptionZuser_optionsrrr r!rr
r
r
rr
s
r)Z	distutilsrrrZ
setuptoolsrrZsetuptools.archive_utilrrZ	Installerrr
r
r
r<module>s
Back to Directory File Manager