????

Your IP : 3.149.237.146


Current Path : /lib/python3.6/site-packages/setuptools/command/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-36.pyc

3

U('d��@s\ddlmZmZddlZddlmZddlmZddlmZddl	Z	Gdd�dej
e�ZdS)�)�log�dir_utilN)�Command)�
namespaces)�unpack_archivec@sBeZdZdZdZdgZdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dS)�install_egg_infoz.Install an .egg-info directory for the package�install-dir=�d�directory to install tocCs
d|_dS)N)�install_dir)�self�r
�&/usr/lib/python3.6/install_egg_info.py�initialize_optionssz#install_egg_info.initialize_optionscCsV|jdd�|jd�}tjdd|j|j�j�d}|j|_tj	j
|j|�|_g|_
dS)NZinstall_libr�egg_infoz	.egg-info)rr)Zset_undefined_optionsZget_finalized_command�
pkg_resourcesZDistributionZegg_nameZegg_versionr�source�os�path�joinr�target�outputs)rZei_cmd�basenamer
r
r�finalize_optionss
z!install_egg_info.finalize_optionscCs�|jd�tjj|j�r<tjj|j�r<tj|j|jd�n(tjj	|j�rd|j
tj|jfd|j�|jsvtj
|j�|j
|jfd|j|jf�|j�dS)Nr)�dry_runz	Removing zCopying %s to %s)Zrun_commandrr�isdirr�islinkrZremove_treer�existsZexecute�unlinkrZensure_directory�copytreerZinstall_namespaces)rr
r
r�run!s
zinstall_egg_info.runcCs|jS)N)r)rr
r
r�get_outputs.szinstall_egg_info.get_outputscs �fdd�}t�j�j|�dS)NcsFx&dD]}|j|�s d||krdSqW�jj|�tjd||�|S)N�.svn/�CVS/�/zCopying %s to %s)r"r#)�
startswithr�appendr�debug)�src�dst�skip)rr
r�skimmer3s
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