����JFIF���������
1#@!#!123s
D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
python37
/
lib64
/
python3.7
/
distutils
/
command
/
__pycache__
/
Filename :
install_data.cpython-37.pyc
back
Copy
B ����� f������������������@���s<���d�Z�ddlZddlmZ�ddlmZmZ�G�dd��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���������������@���sH���e�Zd�ZdZdddgZdgZdd��Zdd ��Zd d��Zdd ��Z dd��Z dS�)�install_datazinstall data files)zinstall-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)r���c�������������C���s,���d�|�_�g�|�_d�|�_d|�_|�jj|�_d|�_d�S�)Nr�������)�install_dir�outfiles�rootr���Zdistribution� data_files�warn_dir)�self��r����C/opt/alt/python37/lib64/python3.7/distutils/command/install_data.py�initialize_options���s���� zinstall_data.initialize_optionsc�������������C���s���|���dddd��d�S�)NZinstall)r���r ���)r���r���)r���r���)Zset_undefined_options)r���r���r���r����finalize_options#���s����zinstall_data.finalize_optionsc�������������C���s��|���|�j��x�|�jD�]�}t|t�rdt|�}|�jrD|��d||�jf���|��||�j�\}}|�j � |��qt|d��}tj� |�s�tj�|�j|�}n|�jr�t|�j|�}|���|��|d�g�kr�|�j � |��qx4|d�D�](}t|�}|��||�\}}|�j � |��q�W�qW�d�S�)NzMsetup script did not provide a directory for '%s' -- installing right in '%s'r���r ���)Zmkpathr ���r ���� isinstance�strr���r����warnZ copy_filer����append�os�path�isabs�joinr���r���)r���r����out�_�dir�datar���r���r����run*���s*���� zinstall_data.runc�������������C���s ���|�j�pg�S�)N)r ���)r���r���r���r���� get_inputsK���s����zinstall_data.get_inputsc�������������C���s���|�j�S�)N)r���)r���r���r���r����get_outputsN���s����zinstall_data.get_outputsN)�__name__� __module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsr���r���r ���r!���r"���r���r���r���r���r������s���!r���)�__doc__r���Zdistutils.corer���Zdistutils.utilr���r���r���r���r���r���r����<module>���s���