Current Dir: /snap/core22/2437/usr/lib/python3.10/distutils/command/__pycache__/
[FILE] bdist.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_dumb.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_msi.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_rpm.cpython-310.pyc [ edit | delete | rename ]
[FILE] build.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_clib.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_ext.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_py.cpython-310.pyc [ edit | delete | rename ]
[FILE] build_scripts.cpython-310.pyc [ edit | delete | rename ]
[FILE] check.cpython-310.pyc [ edit | delete | rename ]
[FILE] clean.cpython-310.pyc [ edit | delete | rename ]
[FILE] config.cpython-310.pyc [ edit | delete | rename ]
[FILE] install.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_data.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_headers.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_lib.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_scripts.cpython-310.pyc [ edit | delete | rename ]
[FILE] register.cpython-310.pyc [ edit | delete | rename ]
[FILE] sdist.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3.10/distutils/command/__pycache__/install_scripts.cpython-310.pyc
o
��bc� � @ 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 @ sH e Zd ZdZg d�ZddgZdd� Zdd� Zd d
� Zdd� Z d
d� 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))�
skip-buildNzskip the build stepsr r
c C s d | _ d| _d | _d | _d S )Nr )�install_dirr � build_dir�
skip_build��self� r �8/usr/lib/python3.10/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_optionsr r r r �finalize_options! s �z install_scripts.finalize_optionsc C s� | j s| �d� | �| j| j�| _tjdkr?| �� D ]&}| j r&t
�d|� qt�|�t
dB d@ }t
�d||� t�||� qd S 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 jpg S �N)�distribution�scriptsr r r r �
get_inputs8 s zinstall_scripts.get_inputsc C s
| j pg S r&