| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.7/site-packages/setuptools/command/__pycache__/ |
Upload File : |
B
�a* � @ s| d dl mZ d dlZd dlZd dlZd dlZd dlm mZ d dl
Z
e jZG dd� de j�Zdd� e jjD �ej
e_dS )� )�DistutilsArgErrorNc @ s� e Zd ZdZejjddg Zejjddg Zddd� fd d
d� fgZe e�Z
dd� Zd
d� Zdd� Z
dd� Zedd� �Zdd� ZdS )�installz7Use easy_install to install the package, w/dependencies)zold-and-unmanageableNzTry not to use this!)z!single-version-externally-managedNz5used by system package builders to create 'flat' eggszold-and-unmanageablez!single-version-externally-managedZinstall_egg_infoc C s dS )NT� )�selfr r �>/usr/lib/python3.7/site-packages/setuptools/command/install.py�<lambda> � zinstall.<lambda>Zinstall_scriptsc C s dS )NTr )r r r r r r c C s* t �dtj� tj�| � d | _d | _d S )NzRsetup.py install is deprecated. Use build and pip and other standards-based tools.) �warnings�warn�
setuptoolsZSetuptoolsDeprecationWarning�origr �initialize_options�old_and_unmanageable�!single_version_externally_managed)r r r r r
s zinstall.initialize_optionsc C s8 t j�| � | jrd| _n| jr4| js4| js4td��d S )NTzAYou must specify --record or --root when building system packages)r r �finalize_options�rootr �recordr )r r r r r , s zinstall.finalize_optionsc C s( | j s| jrtj�| �S d | _d| _d S )N� )r r r r �handle_extra_pathZ path_fileZ
extra_dirs)r r r r r 7 s zinstall.handle_extra_pathc C s@ | j s| jrtj�| �S | �t�� �s4tj�| � n| �� d S )N) r r r r �run�_called_from_setup�inspectZcurrentframe�do_egg_install)r r r r r A s
zinstall.runc C sz | dkr4d}t �|� t�� dkr0d}t �|� dS t�| �d }|dd� \}t�|�}|j�dd �}|d
kox|j dkS )a�
Attempt to detect whether run() was called from setup() or by another
command. If called by setup(), the parent caller will be the
'run_command' method in 'distutils.dist', and *its* caller will be
the 'run_commands' method. If called any other way, the
immediate caller *might* be 'run_command', but it won't have been
called by 'run_commands'. Return True in that case or if a call stack
is unavailable. Return False otherwise.
Nz4Call stack not available. bdist_* commands may fail.Z
IronPythonz6For best results, pass -X:Frames to enable call stack.T� � �__name__r zdistutils.distZrun_commands)
r r
�platformZpython_implementationr ZgetouterframesZgetframeinfo� f_globals�getZfunction)Z run_frame�msgZresZcaller�infoZ
caller_moduler r r r L s
zinstall._called_from_setupc C s� | j �d�}|| j d| j| jd�}|�� d|_|j�t�d�� | � d� | j �
d�jg}tj
rp|�dtj
� ||_|jdd � d t_
d S )
N�easy_install�x)�argsr r �.z*.eggZ bdist_eggr F)Zshow_deprecation)ZdistributionZget_command_classr r Zensure_finalizedZalways_copy_fromZ
package_index�scan�globZrun_commandZget_command_objZ
egg_outputr Zbootstrap_install_from�insertr# r )r r! �cmdr# r r r r g s
zinstall.do_egg_installN)r �
__module__�__qualname__�__doc__r r Zuser_optionsZboolean_options�new_commands�dict�_ncr
r r r �staticmethodr r r r r r r s
r c C s g | ]}|d t jkr|�qS )r )r r. )�.0r( r r r �
<listcomp>� s r1 )Zdistutils.errorsr r r&