AlkantarClanX12

Your IP : 3.135.214.175


Current Path : /lib64/python3.6/distutils/command/__pycache__/
Upload File :
Current File : //lib64/python3.6/distutils/command/__pycache__/install_data.cpython-36.opt-1.pyc

3


 \�@s<dZddlZddlmZddlmZmZGdd�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@sHeZdZdZdddgZdgZdd�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�6/usr/lib64/python3.6/distutils/command/install_data.py�initialize_optionss
zinstall_data.initialize_optionscCs|jdddd�dS)	NZinstallrrrr)rr)rr)rr)Zset_undefined_options)rrrr�finalize_options#szinstall_data.finalize_optionscCs|j|j�x�|jD]�}t|t�rdt|�}|jrD|jd||jf�|j||j�\}}|j	j
|�qt|d�}tjj
|�s�tjj|j|�}n|jr�t|j|�}|j|�|dgkr�|j	j
|�qx4|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
|jpgS)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