Hacked By AnonymousFox

Current Path : /opt/alt/python310/lib/python3.10/site-packages/setuptools/command/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib/python3.10/site-packages/setuptools/command/__pycache__/install.cpython-310.pyc

o

~�Re*�@s|ddlmZddlZddlZddlZddlZddlmmZ	ddl
Z
e	jZGdd�de	j�Zdd�e	jjD�ej
e_dS)�)�DistutilsArgErrorNc@s�eZdZdZejjddgZejjddgZddd�fd	d
d�fgZe	e�Z
dd�Zd
d�Zdd�Z
dd�Zedd��Zdd�ZdS)�installz7Use easy_install to install the package, w/dependencies)�old-and-unmanageableNzTry not to use this!)�!single-version-externally-managedNz5used by system package builders to create 'flat' eggsrr�install_egg_infocC�dS�NT���selfr	r	��/builddir/build/BUILDROOT/alt-python310-setuptools-58.3.0-2.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/setuptools/command/install.py�<lambda>�zinstall.<lambda>�install_scriptscCrrr	r
r	r	rr
rcCs*t�dtj�tj�|�d|_d|_dS)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_managedr
r	r	rr s�
zinstall.initialize_optionscCsBtj�|�|jrd|_dS|jr|js|jstd��dSdSdS)NTzAYou must specify --record or --root when building system packages)rr�finalize_options�rootr�recordrr
r	r	rr,s
��zinstall.finalize_optionscCs(|js|jrtj�|�Sd|_d|_dS)N�)rrrr�handle_extra_path�	path_file�
extra_dirsr
r	r	rr7s
zinstall.handle_extra_pathcCsB|js|jrtj�|�S|�t���stj�|�dS|��dS)N)	rrrr�run�_called_from_setup�inspect�currentframe�do_egg_installr
r	r	rrAs
zinstall.runcCsz|durd}t�|�t��dkrd}t�|�dSt�|�d}|dd�\}t�|�}|j�dd	�}|d
ko<|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.�
IronPythonz6For best results, pass -X:Frames to enable call stack.T���__name__rzdistutils.dist�run_commands)
rr�platform�python_implementationr �getouterframes�getframeinfo�	f_globals�get�function)Z	run_frame�msg�resZcaller�infoZ
caller_moduler	r	rrLs


�zinstall._called_from_setupcCs�|j�d�}||jd|j|jd�}|��d|_|j�t�d��|�	d�|j�
d�jg}tj
r8|�dtj
�||_|jdd	�dt_
dS)
N�easy_install�x)�argsrr�.z*.eggZ	bdist_eggrF)Zshow_deprecation)�distribution�get_command_classrr�ensure_finalizedZalways_copy_fromZ
package_index�scan�glob�run_command�get_command_objZ
egg_outputrZbootstrap_install_from�insertr4r)rr2�cmdr4r	r	rr"gs�

zinstall.do_egg_installN)r&�
__module__�__qualname__�__doc__rr�user_options�boolean_options�new_commands�dict�_ncrrrr�staticmethodrr"r	r	r	rrs(��

�

rcCsg|]}|dtjvr|�qS)r)rrF)�.0r>r	r	r�
<listcomp>�srI)�distutils.errorsrr r:rr(�distutils.command.install�commandrrr�_install�sub_commandsrDr	r	r	r�<module>ss��

Hacked By AnonymousFox1.0, Coded By AnonymousFox