ok

Mini Shell

Direktori : /opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/install_data.cpython-35.pyc



M�Ma�@sRdZddlZddlmZddlmZmZGdd�de�ZdS)z�distutils.command.install_data

Implements the Distutils 'install_data' command, for installing
platform-independent data files.�N)�Command)�change_root�convert_pathc@sjeZdZdZdddgZdgZdd�Zd
d�Zdd�Zdd�Z	dd�Z
dS)�install_datazinstall data files�install-dir=�d�Ibase directory for installing data files (default: installation base dir)�root=N�<install everything relative to this alternate root directory�force�f�-force installation (overwrite existing files)cCs@d|_g|_d|_d|_|jj|_d|_dS)Nr�)�install_dir�outfiles�rootrZdistribution�
data_files�warn_dir)�self�r�C/opt/alt/python35/lib64/python3.5/distutils/command/install_data.py�initialize_optionss				zinstall_data.initialize_optionscCs|jdddd�dS)	NZinstallrrrr)rr)rr)rr)Zset_undefined_options)rrrr�finalize_options#s	zinstall_data.finalize_optionscCse|j|j�xN|jD]C}t|t�r�t|�}|jr^|jd||jf�|j||j�\}}|j	j
|�qt|d�}tjj
|�s�tjj|j|�}n|jr�t|j|�}|j|�|dgkr|j	j
|�qxF|dD]:}t|�}|j||�\}}|j	j
|�qWqWdS)NzMsetup script did not provide a directory for '%s' -- installing right in '%s'rr)Zmkpathrr�
isinstance�strrr�warnZ	copy_filer�append�os�path�isabs�joinrr)rr�out�_�dir�datarrr�run*s*			
zinstall_data.runcCs
|jpgS)N)r)rrrr�
get_inputsKszinstall_data.get_inputscCs|jS)N)r)rrrr�get_outputsNszinstall_data.get_outputs)rrr)r	Nr
)rrr
)�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrrr%r&r'rrrrrs		!r)�__doc__rZdistutils.corerZdistutils.utilrrrrrrr�<module>s

Zerion Mini Shell 1.0