관리-도구
편집 파일: build_env.cpython-38.pyc
U &?�f�( � @ s� d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m Z ddlmZm Z mZmZmZmZmZmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZmZm Z ddl!m"Z"m#Z# ddl$m%Z% dd l&m'Z' ddl(m)Z) ddl*m+Z+m,Z, e�rddl-m.Z. e�/e0�Z1e2e2eee2 ee2e2f f d�dd�Z3G dd� d�Z4e2d�dd�Z5ee2 d�dd�Z6G dd� d�Z7G dd� de7�Z8dS )z;Build Environment used for isolation during sdist building � N)�OrderedDict)� TracebackType)� TYPE_CHECKING�Iterable�List�Optional�Set�Tuple�Type�Union)�where)�Version)�__file__)�open_spinner)�get_platlib�get_purelib� get_scheme)�get_default_environment�get_environment)�VERBOSE)�get_requirement)�call_subprocess)� TempDirectory� tempdir_kinds)� PackageFinder)�a�b�returnc C s | |kr| |fS | fS �N� )r r r r �E/opt/hc_python/lib/python3.8/site-packages/pip/_internal/build_env.py�_dedup s r! c @ s e Zd Zedd�dd�ZdS )�_PrefixN)�pathr c C s4 || _ d| _td|d�}|j| _t|j|j�| _d S )NF� )�prefix) r# �setupr �scripts�bin_dirr! �purelib�platlib�lib_dirs)�selfr# �schemer r r �__init__% s z_Prefix.__init__)�__name__� __module__�__qualname__�strr. r r r r r"