AlkantarClanX12

Your IP : 3.145.169.122


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_scripts.cpython-310.pyc

o

6��f��@sDdZddlZddlmZddlmZddlmZGdd�de�ZdS)zudistutils.command.install_scripts

Implements the Distutils 'install_scripts' command, for installing
Python scripts.�N)�Command)�log)�ST_MODEc@sHeZdZdZgd�ZddgZdd�Zdd�Zd	d
�Zdd�Z	d
d�Z
dS)�install_scriptsz%install scripts (Python or otherwise)))zinstall-dir=�dzdirectory to install scripts to)z
build-dir=�bz'build directory (where to install from))�force�fz-force installation (overwrite existing files))�
skip-buildNzskip the build stepsrr
cCsd|_d|_d|_d|_dS)Nr)�install_dirr�	build_dir�
skip_build��self�r�H/opt/alt/python310/lib64/python3.10/distutils/command/install_scripts.py�initialize_optionss
z"install_scripts.initialize_optionscCs |�dd�|�dddd�dS)NZbuild)�
build_scriptsrZinstall)rr)rr)r
r
)Zset_undefined_optionsrrrr�finalize_options!s�z install_scripts.finalize_optionscCs�|js|�d�|�|j|j�|_tjdkr?|��D]&}|j	r&t
�d|�qt�|�t
dBd@}t
�d||�t�||�qdSdS)Nr�posixzchanging mode of %simi�zchanging mode of %s to %o)r
Zrun_commandZ	copy_treerr�outfiles�os�name�get_outputsZdry_runr�info�statr�chmod)r�file�moderrr�run)s

�zinstall_scripts.runcCs|jjpgS�N)ZdistributionZscriptsrrrr�
get_inputs8szinstall_scripts.get_inputscCs
|jpgSr )rrrrrr;s
zinstall_scripts.get_outputsN)�__name__�
__module__�__qualname__�descriptionZuser_optionsZboolean_optionsrrrr!rrrrrrsr)	�__doc__rZdistutils.corerZ	distutilsrrrrrrrr�<module>s