Your IP : 3.141.192.174


Current Path : /usr/lib64/python3.8/distutils/command/__pycache__/
Upload File :
Current File : //usr/lib64/python3.8/distutils/command/__pycache__/install_data.cpython-38.opt-1.pyc

U

e5d�@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�Zdd	�Zd
d�Zdd
�Z	dd�Z
dS)�install_datazinstall data files)zinstall-dir=�dzIbase directory for installing data files (default: installation base dir))zroot=Nz<install everything relative to this alternate root directory)�force�fz-force installation (overwrite existing files)rcCs,d|_g|_d|_d|_|jj|_d|_dS)Nr�)�install_dir�outfiles�rootrZdistribution�
data_files�warn_dir��self�r�6/usr/lib64/python3.8/distutils/command/install_data.py�initialize_optionss
zinstall_data.initialize_optionscCs|�dddd�dS)NZinstall)rr
)rr)rr)Zset_undefined_optionsrrrr�finalize_options#s
�zinstall_data.finalize_optionscCs�|�|j�|jD]�}t|t�rbt|�}|jrB|�d||jf�|�||j�\}}|j	�
|�qt|d�}tj�
|�s�tj�|j|�}n|jr�t|j|�}|�|�|dgkr�|j	�
|�q|dD](}t|�}|�||�\}}|j	�
|�q�qdS)NzMsetup script did not provide a directory for '%s' -- installing right in '%s'rr	)Zmkpathr
r
�
isinstance�strrr�warnZ	copy_filer�append�os�path�isabs�joinrr)rr�out�_�dir�datarrr�run*s,

�
zinstall_data.runcCs
|jpgS�N)r
rrrr�
get_inputsKszinstall_data.get_inputscCs|jSr")rrrrr�get_outputsNszinstall_data.get_outputsN)�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrrr!r#r$rrrrrs�	!r)�__doc__rZdistutils.corerZdistutils.utilrrrrrrr�<module>s

?>