CasperSecurity

Current Path : /lib/python3/dist-packages/setuptools/command/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/setuptools/command/__pycache__/install.cpython-310.pyc

o

�_�a*�@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	�</usr/lib/python3/dist-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�
setuptools�SetuptoolsDeprecationWarning�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)�	run_frame�msg�res�caller�info�
caller_moduler	r	rr Ls


�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*.egg�	bdist_eggrF)�show_deprecation)�distribution�get_command_classrr�ensure_finalized�always_copy_from�
package_index�scan�glob�run_command�get_command_obj�
egg_outputr�bootstrap_install_from�insertr8r)rr6�cmdr8r	r	rr#gs�

zinstall.do_egg_installN)r'�
__module__�__qualname__�__doc__rr�user_options�boolean_options�new_commands�dict�_ncrrrr�staticmethodr r#r	r	r	rrs(��

�

rcCsg|]}|dtjvr|�qS)r)rrP)�.0rHr	r	r�
<listcomp>�srS)�distutils.errorsrr!rBrr)�distutils.command.install�commandrrr�_install�sub_commandsrNr	r	r	r�<module>ss��
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY