Hacked By AnonymousFox
B
YI~d� � @ s@ d dl Z d dlmZ d dlmZ d dlmZ G dd� de�ZdS )� N)�Command)�log)�ST_MODEc @ sL e Zd ZdZddddgZddgZdd � Zd
d� Zdd
� Zdd� Z dd� Z
dS )�install_scriptsz%install scripts (Python or otherwise))zinstall-dir=�dzdirectory to install scripts to)z
build-dir=�bz'build directory (where to install from))�force�fz-force installation (overwrite existing files))z
skip-buildNzskip the build stepsr z
skip-buildc C s d | _ d| _d | _d | _d S )Nr )�install_dirr � build_dir�
skip_build)�self� r �F/opt/alt/python37/lib64/python3.7/distutils/command/install_scripts.py�initialize_options s z"install_scripts.initialize_optionsc C s | � dd� | � dddd� d S )NZbuild)�
build_scriptsr �install)r r
)r r )r r )Zset_undefined_options)r
r r r �finalize_options! s
z install_scripts.finalize_optionsc C s� | j s| �d� | �| j| j�| _tjdkr�xT| �� D ]H}| j rNt
�d|� q6t�|�t
dB d@ }t
�d||� t�||� q6W d S )Nr �posixzchanging mode of %sim i� zchanging mode of %s to %o)r Zrun_commandZ copy_treer r
�outfiles�os�name�get_outputsZdry_runr �info�statr �chmod)r
�file�moder r r �run) s
zinstall_scripts.runc C s | j jp
g S )N)ZdistributionZscripts)r
r r r �
get_inputs8 s zinstall_scripts.get_inputsc C s
| j pg S )N)r )r
r r r r ; s zinstall_scripts.get_outputsN)�__name__�
__module__�__qualname__�descriptionZuser_optionsZboolean_optionsr r r r r r r r r r s r )r Zdistutils.corer Z distutilsr r r r r r r r �<module> s
Hacked By AnonymousFox1.0, Coded By AnonymousFox