Current File : //lib/python3.9/site-packages/pip/_internal/operations/install/__pycache__/legacy.cpython-39.pyc |
a
[��f> � @ s d Z ddlZddlZddlmZ ddlmZmZmZ ddl m
Z
ddlmZ ddl
mZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ e�e�ZG d
d� de�Zee ee edd�dd�Zee ee ee ee ee e e eee ee
eee d�dd�Z!dS )z6Legacy installation process, i.e. `setup.py install`.
� N)�change_root)�List�Optional�Sequence)�BuildEnvironment)�InstallationError)�Scheme)�
indent_log)�
ensure_dir)�make_setuptools_install_args)�runner_with_spinner_message)�
TempDirectoryc @ s e Zd ZdS )�LegacyInstallFailureN)�__name__�
__module__�__qualname__� r r �K/usr/lib/python3.9/site-packages/pip/_internal/operations/install/legacy.pyr s r )�record_lines�root�req_description�returnc s� t t d�� fdd�}| D ]&}tj�|�}|�d�r||�} qRqd�|�}t|��g }| D ]<}|�� } tj�| �r~| tjj 7 } |�
tj�|| �|�� qZ|�� t
|� tj�|d�}
t|
d��$}|�d�|�d � W d � n1 s�0 Y d S ) N)�pathr c s&