Current Dir: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/command/__pycache__/
[FILE] alias.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_egg.cpython-310.pyc [ edit | delete | rename ]
[FILE] bdist_rpm.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] develop.cpython-310.pyc [ edit | delete | rename ]
[FILE] dist_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] easy_install.cpython-310.pyc [ edit | delete | rename ]
[FILE] egg_info.cpython-310.pyc [ edit | delete | rename ]
[FILE] install.cpython-310.pyc [ edit | delete | rename ]
[FILE] install_egg_info.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] py36compat.cpython-310.pyc [ edit | delete | rename ]
[FILE] register.cpython-310.pyc [ edit | delete | rename ]
[FILE] rotate.cpython-310.pyc [ edit | delete | rename ]
[FILE] saveopts.cpython-310.pyc [ edit | delete | rename ]
[FILE] sdist.cpython-310.pyc [ edit | delete | rename ]
[FILE] setopt.cpython-310.pyc [ edit | delete | rename ]
[FILE] test.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload.cpython-310.pyc [ edit | delete | rename ]
[FILE] upload_docs.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3/dist-packages/setuptools/command/__pycache__/install_scripts.cpython-310.pyc
o
�_�a!
� @ sd d dl mZ d dlm mZ d dlmZ d dlZd dl Z d dl
mZmZm
Z
G dd� dej�ZdS )� )�logN)�DistutilsModuleError)�Distribution�PathMetadata�ensure_directoryc @ s* e Zd ZdZdd� Zdd� Zd
dd�Zd S )�install_scriptsz;Do normal script install, plus any egg_info wrapper scriptsc C s t j�| � d| _d S )NF)�origr �initialize_options�no_ep)�self� r �D/usr/lib/python3/dist-packages/setuptools/command/install_scripts.pyr
s
z"install_scripts.initialize_optionsc C s dd l m m} | �d� | jjrtj�| � ng | _ | j
r!d S | �d�}t|j
t|j
|j�|j|j�}| �d�}t|dd �}z
| �d�}t|dd�}W n
ttfyZ d}Y nw |j}|red}|j}|tjkrm|g}|�� }|j�� �|�} |�|| �� �D ]}
| j|
� q�d S ) Nr �egg_info�
build_scripts�
executable�
bdist_wininst�_is_runningFz
python.exe)�setuptools.command.easy_install�command�easy_install�run_command�distribution�scriptsr r �run�outfilesr
�get_finalized_commandr �egg_baser r �egg_name�egg_version�getattr�ImportErrorr �ScriptWriter�WindowsScriptWriter�sysr �best�command_spec_class�
from_param�get_args� as_header�write_script)r �ei�ei_cmd�dist�bs_cmd�
exec_param�bw_cmd�
is_wininst�writer�cmd�argsr r r
r s>