Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
opt
/
alt
/
python39
/
lib
/
python3.9
/
site-packages
/
setuptools
/
command
/
__pycache__
/
File Content:
install_scripts.cpython-39.opt-1.pyc
a N�Re! � @ 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 �S/opt/alt/python39/lib/python3.9/site-packages/setuptools/command/install_scripts.pyr s z"install_scripts.initialize_optionsc C s dd l m m} | �d� | jjr2tj�| � ng | _ | j rBd S | �d�}t|j t|j |j�|j|j�}| �d�}t|dd �}z| �d�}t|dd�}W n ttfy� d}Y n0 |j}|r�d}|j}|tjkr�|g}|�� }|j�� �|�} |�|| �� �D ]} | j| � �qd S ) Nr �egg_infoZ build_scripts� executableZ bdist_wininstZ_is_runningFz python.exe)�setuptools.command.easy_install�commandZeasy_installZrun_commandZdistributionZscriptsr r �run�outfilesr Zget_finalized_commandr Zegg_baser r Zegg_nameZegg_version�getattr�ImportErrorr ZScriptWriterZWindowsScriptWriter�sysr ZbestZcommand_spec_classZ from_param�get_argsZ as_header�write_script)r ZeiZei_cmdZdistZbs_cmdZ exec_paramZbw_cmdZ is_wininst�writer�cmd�argsr r r r s: � zinstall_scripts.run�tc G s� ddl m}m} t�d|| j� tj�| j|�}| j � |� |� }| js~t|� t |d| �} | �|� | �� ||d| � dS )z1Write an executable file to the scripts directoryr )�chmod� current_umaskzInstalling %s script to %s�wi� N)r r r r �infoZinstall_dir�os�path�joinr �appendZdry_runr �open�write�close) r Zscript_name�contents�modeZignoredr r �target�mask�fr r r r 7 s zinstall_scripts.write_scriptN)r )�__name__� __module__�__qualname__�__doc__r r r r r r r r s &r )Z distutilsr Z!distutils.command.install_scriptsr r r Zdistutils.errorsr r! r Z pkg_resourcesr r r r r r r �<module> s
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
__init__.cpython-39.opt-1.pyc
356 bytes
0644
__init__.cpython-39.pyc
356 bytes
0644
alias.cpython-39.opt-1.pyc
2350 bytes
0644
alias.cpython-39.pyc
2350 bytes
0644
bdist_egg.cpython-39.opt-1.pyc
13016 bytes
0644
bdist_egg.cpython-39.pyc
13016 bytes
0644
bdist_rpm.cpython-39.opt-1.pyc
1563 bytes
0644
bdist_rpm.cpython-39.pyc
1563 bytes
0644
build_clib.cpython-39.opt-1.pyc
2447 bytes
0644
build_clib.cpython-39.pyc
2447 bytes
0644
build_ext.cpython-39.opt-1.pyc
9792 bytes
0644
build_ext.cpython-39.pyc
9806 bytes
0644
build_py.cpython-39.opt-1.pyc
7797 bytes
0644
build_py.cpython-39.pyc
7797 bytes
0644
develop.cpython-39.opt-1.pyc
6116 bytes
0644
develop.cpython-39.pyc
6116 bytes
0644
dist_info.cpython-39.opt-1.pyc
1374 bytes
0644
dist_info.cpython-39.pyc
1374 bytes
0644
easy_install.cpython-39.opt-1.pyc
63714 bytes
0644
easy_install.cpython-39.pyc
63743 bytes
0644
egg_info.cpython-39.opt-1.pyc
21957 bytes
0644
egg_info.cpython-39.pyc
21957 bytes
0644
install.cpython-39.opt-1.pyc
4164 bytes
0644
install.cpython-39.pyc
4164 bytes
0644
install_egg_info.cpython-39.opt-1.pyc
2406 bytes
0644
install_egg_info.cpython-39.pyc
2406 bytes
0644
install_lib.cpython-39.opt-1.pyc
4095 bytes
0644
install_lib.cpython-39.pyc
4113 bytes
0644
install_scripts.cpython-39.opt-1.pyc
2401 bytes
0644
install_scripts.cpython-39.pyc
2401 bytes
0644
py36compat.cpython-39.opt-1.pyc
4568 bytes
0644
py36compat.cpython-39.pyc
4568 bytes
0644
register.cpython-39.opt-1.pyc
824 bytes
0644
register.cpython-39.pyc
824 bytes
0644
rotate.cpython-39.opt-1.pyc
2483 bytes
0644
rotate.cpython-39.pyc
2483 bytes
0644
saveopts.cpython-39.opt-1.pyc
902 bytes
0644
saveopts.cpython-39.pyc
902 bytes
0644
sdist.cpython-39.opt-1.pyc
6602 bytes
0644
sdist.cpython-39.pyc
6602 bytes
0644
setopt.cpython-39.opt-1.pyc
4653 bytes
0644
setopt.cpython-39.pyc
4653 bytes
0644
test.cpython-39.opt-1.pyc
8008 bytes
0644
test.cpython-39.pyc
8008 bytes
0644
upload.cpython-39.opt-1.pyc
797 bytes
0644
upload.cpython-39.pyc
797 bytes
0644
upload_docs.cpython-39.opt-1.pyc
6122 bytes
0644
upload_docs.cpython-39.pyc
6140 bytes
0644
N4ST4R_ID | Naxtarrr