AlkantarClanX12

Your IP : 3.149.24.143


Current Path : /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.opt-2.pyc



���]�@sLddlZddlmZddlmZmZGdd�de�ZdS)�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�1/opt/alt/python35/lib64/python3.5/install_data.py�initialize_optionss				zinstall_data.initialize_optionscCs|jdddd�dS)	N�installrrrr)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__�descriptionZuser_optionsZboolean_optionsrrr&r'r(rrrrrs		!r)rZdistutils.corerZdistutils.utilrrrrrrr�<module>s