Your IP : 3.135.247.24


Current Path : /usr/lib64/python3.6/distutils/command/__pycache__/
Upload File :
Current File : //usr/lib64/python3.6/distutils/command/__pycache__/install_scripts.cpython-36.opt-2.pyc

3


 \��@s@ddlZddlmZddlmZddlmZGdd�de�ZdS)�N)�Command)�log)�ST_MODEc@sLeZdZdZddddgZddgZdd�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 stepscCsd|_d|_d|_d|_dS)Nr)�install_dirr�	build_dir�
skip_build)�self�r�9/usr/lib64/python3.6/distutils/command/install_scripts.py�initialize_optionssz"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�xT|j�D]H}|j	rNt
jd|�q6tj|�t
dBd@}t
jd||�tj||�q6WdS)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|jjp
gS)N)Zdistribution�scripts)rrrr�
get_inputs8szinstall_scripts.get_inputscCs
|jpgS)N)r)rrrrr;szinstall_scripts.get_outputs)rrr)r	r
r)rr
r)rNr)�__name__�
__module__�__qualname__ZdescriptionZuser_optionsZboolean_optionsrrr$r&rrrrrrsr)rZdistutils.corerZ	distutilsrr rrrrrr�<module>s

?>