HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/setuptools/command/__pycache__/install.cpython-310.pyc
o

��h��@s�ddlmZddlZddlZddlmZddlmZmZm	Z	ddl
mZddlm
Z
mZddlmmZddlmZerDd	d
lmZndZdd
d�ZGdd�dej�Zdd�ejjD�eje_dS)�)�annotationsN)�Callable)�
TYPE_CHECKING�Any�ClassVar�)�Distribution)�SetuptoolsDeprecationWarning�SetuptoolsWarning)�DistutilsArgError�)�easy_install�name�strcCs0|dkrtjddd�tjStdt�d|����)N�_installzk`setuptools.command._install` was an internal implementation detail that was left in for numpy<1.9 support.)���r)�due_datezmodule z has no attribute )r	�emit�orig�install�AttributeError�__name__)r�r�E/usr/local/lib/python3.10/dist-packages/setuptools/command/install.py�__getattr__s�rcs�eZdZUdZded<ejjddgZejjddgZdd	d
�fddd
�fgZ	d
ed<e
e	�Z�fdd�Zd�fdd�Z
dd�Zedd��Z�ZS)rz7Use easy_install to install the package, w/dependenciesr�distribution)�old-and-unmanageableNzTry not to use this!)�!single-version-externally-managedNz5used by system package builders to create 'flat' eggsrr�install_egg_infocC�dS�NTr��selfrrr�<lambda>4�zinstall.<lambda>�install_scriptscCr r!rr"rrrr$5r%z8ClassVar[list[tuple[str, Callable[[Any], bool] | None]]]�new_commandscs,tjddddd�t���d|_d|_dS)Nzsetup.py install is deprecated.z�
            Please avoid running ``setup.py`` directly.
            Instead, use pypa/build, pypa/installer or other
            standards-based tools.
            zAhttps://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html)r�
�)�see_urlr)r	r�super�initialize_options�old_and_unmanageable�!single_version_externally_managedr"��	__class__rrr,9s�

zinstall.initialize_options�return�Nonecs@t���|jr
d|_dS|jr|js|jstd��dSdSdS)NTzAYou must specify --record or --root when building system packages)r+�finalize_options�rootr.�recordrr"r/rrr3Is

��zinstall.finalize_optionscCs(|js|jrtj�|�Sd|_d|_dS)N�)r4r.rr�handle_extra_path�	path_file�
extra_dirsr"rrrr7Ss
zinstall.handle_extra_pathcCs�|durd}t�|�t��dkrd}t�|�dSt�|�}|dd�D])}|dd�\}t�|�}|j�d	d
�}|dkrD|j	dkrDq%|d
koL|j	dkSdS)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.�
IronPythonz6For best results, pass -X:Frames to enable call stack.Tr�rrr6zsetuptools.dist�run_commandzdistutils.dist�run_commandsF)
r
r�platform�python_implementation�inspect�getouterframes�getframeinfo�	f_globals�get�function)�	run_frame�msg�frames�frame�caller�info�
caller_modulerrr�_called_from_setup^s 



zinstall._called_from_setup)r1r2)r�
__module__�__qualname__�__doc__�__annotations__rr�user_options�boolean_optionsr'�dict�_ncr,r3r7�staticmethodrM�
__classcell__rrr/rr s(
��

�
rcCsg|]}|dtjvr|�qS)r)rrU)�.0�cmdrrr�
<listcomp>�srZ)rr)�
__future__rr@r>�collections.abcr�typingrrr�distr�warningsr	r
�distutils.command.install�commandrr�distutils.errorsrr
�easy_install_clsr�sub_commandsr'rrrr�<module>s&
a�
�