????

Your IP : 18.216.93.197


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

U

�Qab��@s\ddlmZmZddlZddlmZddlmZddlmZddl	Z	Gdd�dej
e�ZdS)�)�log�dir_utilN)�Command)�
namespaces)�unpack_archivec@sBeZdZdZdZdgZdd�Zdd�Zdd�Zd	d
�Z	dd�Z
d
S)�install_egg_infoz.Install an .egg-info directory for the package)zinstall-dir=�dzdirectory to install tocCs
d|_dS�N)�install_dir��self�r
�G/usr/lib/python3.8/site-packages/setuptools/command/install_egg_info.py�initialize_optionssz#install_egg_info.initialize_optionscCsV|�dd�|�d�}t�dd|j|j���d}|j|_tj	�
|j|�|_g|_
dS)NZinstall_lib)r
r
�egg_infoz	.egg-info)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�|�d�tj�|j�r:tj�|j�s:tj|j|jd�n(tj�	|j�rb|�
tj|jfd|j�|jstt�
|j�|�
|jdd|j|jf�|��dS)Nr)�dry_runz	Removing r
�Copying %s to %s)Zrun_commandrr�isdirr�islinkrZremove_treer�existsZexecute�unlinkrZensure_directory�copytreerZinstall_namespacesrr
r
r�run!s
�zinstall_egg_info.runcCs|jSr	)rrr
r
r�get_outputs.szinstall_egg_info.get_outputscs �fdd�}t�j�j|�dS)NcsDdD] }|�|�sd||krdSq�j�|�t�d||�|S)N)z.svn/zCVS/�/r)�
startswithr�appendr�debug)�srcZdst�skiprr
r�skimmer3sz*install_egg_info.copytree.<locals>.skimmer)rrr)rr)r
rrr 1szinstall_egg_info.copytreeN)�__name__�
__module__�__qualname__�__doc__�descriptionZuser_optionsrrr!r"r r
r
r
rr
s�
r)Z	distutilsrrrZ
setuptoolsrrZsetuptools.archive_utilrrZ	Installerrr
r
r
r�<module>s