관리-도구
편집 파일: legacy.cpython-39.pyc
a ��Re> � @ 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 ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/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&