AlkantarClanX12

Your IP : 18.221.59.121


Current Path : /opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/distutils/command/__pycache__/install_scripts.cpython-35.pyc



��Yf��@s\dZddlZddlmZddlmZddlmZGdd�de�ZdS)zudistutils.command.install_scripts

Implements the Distutils 'install_scripts' command, for installing
Python scripts.�N)�Command)�log)�ST_MODEc@speZdZdZddddgZddgZdd�Zdd�Zdd�Zdd�Z	dd�Z
dS)�install_scriptsz%install scripts (Python or otherwise)�install-dir=�d�directory to install scripts to�
build-dir=�b�'build directory (where to install from)�force�f�-force installation (overwrite existing files)�
skip-buildN�skip the build stepscCs(d|_d|_d|_d|_dS)Nr)�install_dirr�	build_dir�
skip_build)�self�r�F/opt/alt/python35/lib64/python3.5/distutils/command/install_scripts.py�initialize_optionss			z"install_scripts.initialize_optionscCs*|jdd	�|jdd
dd�dS)
NZbuild�
build_scriptsrZinstallrrrr)rr)rr)rr)rr)Zset_undefined_options)rrrr�finalize_options!s
	z install_scripts.finalize_optionscCs�|js|jd�|j|j|j�|_tjdkr�xn|j�D]`}|j	rot
jd|�qMtj|�t
dBd@}t
jd||�tj||�qMWdS)Nr�posixzchanging mode of %simi�zchanging mode of %s to %o)rZrun_commandZ	copy_treerr�outfiles�os�name�get_outputsZdry_runr�info�statr�chmod)r�file�moderrr�run)s	
	zinstall_scripts.runcCs|jjpgS)N)Zdistribution�scripts)rrrr�
get_inputs8szinstall_scripts.get_inputscCs
|jpgS)N)r)rrrrr;szinstall_scripts.get_outputs)rrr)r	r
r)rr
r)rNr)�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrrr$r&rrrrrrs	r)	�__doc__rZdistutils.corerZ	distutilsrr rrrrrr�<module>s