AlkantarClanX12

Your IP : 3.137.162.21


Current Path : /opt/alt/python310/lib64/python3.10/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/distutils/command/__pycache__/install_data.cpython-310.pyc

o

6��f�@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@sFeZdZdZgd�ZdgZdd�Zdd�Zdd	�Zd
d�Z	dd
�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�E/opt/alt/python310/lib64/python3.10/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]q}t|t�r1t|�}|jr!|�d||jf�|�||j�\}}|j	�
|�q	t|d�}tj�
|�sFtj�|j|�}n	|jrOt|j|�}|�|�|dgkra|j	�
|�q	|dD]}t|�}|�||�\}}|j	�
|�qeq	dS)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*s0

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