HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //lib/python3.9/site-packages/pip/_internal/operations/install/__pycache__/legacy.cpython-39.pyc
a

?�f��@s�dZddlZddlZddlZddlmZddlmZddlm	Z	ddl
mZddlm
Z
ddlmZdd	lmZdd
lmZer�ddlmZmZmZddlmZdd
lmZe�e�ZGdd�de�Z dd�Z!dS)z6Legacy installation process, i.e. `setup.py install`.
�N)�change_root)�InstallationError)�
indent_log)�
ensure_dir)�make_setuptools_install_args)�runner_with_spinner_message)�
TempDirectory)�MYPY_CHECK_RUNNING)�List�Optional�Sequence)�BuildEnvironment)�Schemec@seZdZdd�ZdS)�LegacyInstallFailurecCst��|_dS�N)�sys�exc_info�parent)�self�r�K/usr/lib/python3.9/site-packages/pip/_internal/operations/install/legacy.py�__init__szLegacyInstallFailure.__init__N)�__name__�
__module__�__qualname__rrrrrrsrcs>|j}tdd���}z�tj�|jd�}t||||�|||||	|d�}td�|
��}t��@|�|||d�Wd�n1s�0YWd�n1s�0Ytj�	|�s�t
�d|�WWd�dSWnty�t
�Yn0t|��}|����}Wd�n1�s0YWd�n1�s80Y�fd	d
�}|D],}tj�|�}|�d��rR||�}�q��qRd�|
�}t|��g}|D]@}|��}tj�|��r�|tjj7}|�tj�||�|���q�|��t|�tj�|d
�}t|d��$}|�d�|�d�Wd�n1�s00YdS)N�record)�kindzinstall-record.txt)
�global_options�install_options�record_filename�root�prefix�
header_dir�home�
use_user_siteZno_user_config�	pycompilezRunning setup.py install for {})�cmd�cwdzRecord file %s not foundFcs&�dustj�|�s|St�|�SdSr)�os�path�isabsr)r)�r rr�prepend_root`szinstall.<locals>.prepend_rootz	.egg-infoz�{} did not indicate that it installed an .egg-info directory. Only setup.py projects generating .egg-info directories are supported.zinstalled-files.txt�w�
T)Zheadersrr(r)�joinrr�formatr�exists�logger�debug�	Exceptionr�open�read�
splitlines�dirname�endswithr�strip�isdir�sep�append�relpath�sortr�write)rrr r#r!r$r%�schemeZ
setup_py_path�isolatedZreq_nameZ	build_envZunpacked_source_directoryZreq_descriptionr"Ztemp_dirrZinstall_argsZrunner�fZrecord_linesr,�lineZ	directoryZegg_info_dir�messageZ	new_lines�filenameZinst_files_pathrr+r�install!sr���B

L
���4rG)"�__doc__Zloggingr(rZdistutils.utilrZpip._internal.exceptionsrZpip._internal.utils.loggingrZpip._internal.utils.miscrZ$pip._internal.utils.setuptools_buildrZpip._internal.utils.subprocessrZpip._internal.utils.temp_dirrZpip._internal.utils.typingr	�typingr
rrZpip._internal.build_envr
Zpip._internal.models.schemerZ	getLoggerrr2r4rrGrrrr�<module>s$