Your IP : 3.144.255.247


Current Path : /opt/alt/python34/lib64/python3.4/distutils/command/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/distutils/command/__pycache__/install_scripts.cpython-34.pyo

�
h f��@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/python34/lib64/python3.4/distutils/command/install_scripts.py�initialize_optionss			z"install_scripts.initialize_optionscCs*|jdd	�|jdd
dd�dS)
NZbuild�
build_scriptsrZinstallrrrr)rz	build_dir)zinstall_scriptszinstall_dir)�forcer)�
skip_buildr)Zset_undefined_options)rrrr�finalize_options!s
	z install_scripts.finalize_optionscCs�|js|jd�n|j|j|j�|_tjdkr�xq|j�D]`}|j	rrt
jd|�qPtj|�t
dBd@}t
jd||�tj||�qPWndS)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)zforcer
r)rNr)�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrrr&r(r rrrrrs	r)	�__doc__rZdistutils.corerZ	distutilsrr"rrrrrr�<module>s


?>