Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
pip
/
_internal
/
operations
/
install
/
__pycache__
[ HOME ]
Exec
Submit
File Name : legacy.cpython-37.pyc
B ��Re� � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl mZ ddlm Z ddlmZ dd lmZ dd lmZ er�ddlmZmZmZ ddlmZ dd lmZ e�e�ZG dd� 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 @ s e Zd Zdd� ZdS )�LegacyInstallFailurec C s t �� | _d S )N)�sys�exc_info�parent)�self� r ��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/operations/install/legacy.py�__init__ s zLegacyInstallFailure.__init__N)�__name__� __module__�__qualname__r r r r r r s r c s� |j }tdd���}y�tj�|jd�}t||| |� ||||| |d�}td�| ��}t� �" |� |||d� W d Q R X W d Q R X tj� |�s�t �d|� dS W n tk r� t �Y nX t|��}|�� �� }W d Q R X W d Q R X � fd d �}x>|D ]$}tj�|�}|�d�r�||�}P q�W d�| �}t|��g }xH|D ]@}|�� }tj�|��r\|tjj7 }|�tj�||�|�� �q6W |�� t|� tj�|d �}t|d��}|�d�|�d � W d Q R X dS )N�record)�kindzinstall-record.txt) �global_options�install_options�record_filename�root�prefix� header_dir�home� use_user_site�no_user_config� pycompilezRunning setup.py install for {})�cmd�cwdzRecord file %s not foundFc s&