Your IP : 3.145.196.141


Current Path : /opt/alt/python34/lib64/python3.4/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/distutils/command/__pycache__/install_data.cpython-34.pyo

�
i f�@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/python34/lib64/python3.4/distutils/command/install_data.py�initialize_optionss				zinstall_data.initialize_optionscCs|jdddd�dS)	NZinstallrrrr)zinstall_datazinstall_dir)�rootr)�forcer)Zset_undefined_options)rrrr�finalize_options#s	zinstall_data.finalize_optionscCsk|j|j�xT|jD]I}t|t�r�t|�}|jra|jd||jf�n|j||j�\}}|j	j
|�qt|d�}tjj
|�s�tjj|j|�}n|jr�t|j|�}n|j|�|dgkr|j	j
|�qxF|dD]:}t|�}|j||�\}}|j	j
|�q%WqWdS)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
)zforcerr
)�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrrr'r(r)rrrrrs		!r)�__doc__rZdistutils.corerZdistutils.utilrrrrrrr�<module>s

?>