Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
setuptools
/
_distutils
/
command
/
__pycache__
[ HOME ]
Exec
Submit
File Name : install_scripts.cpython-37.pyc
B ��Re� � @ sD d Z ddlZddlmZ ddlmZ ddlmZ G dd� de�ZdS )zudistutils.command.install_scripts Implements the Distutils 'install_scripts' command, for installing Python scripts.� 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 ��/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/_distutils/command/install_scripts.py�initialize_options s z"install_scripts.initialize_optionsc C s | � dd� | � dddd� d S )N�build)� build_scriptsr �install)r r )r r )r r )�set_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 �run_command� copy_treer r �outfiles�os�name�get_outputs�dry_runr �info�statr �chmod)r �file�moder r r �run) s zinstall_scripts.runc C s | j jp g S )N)�distribution�scripts)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__�description�user_options�boolean_optionsr r r# r&