%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /snap/core/17212/usr/lib/python3.5/distutils/command/__pycache__/
Upload File :
Create Path :
Current File : //snap/core/17212/usr/lib/python3.5/distutils/command/__pycache__/install_scripts.cpython-35.pyc



|�g��@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�7/usr/lib/python3.5/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�|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distributionZscripts)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


Zerion Mini Shell 1.0