관리-도구
편집 파일: pyproject.cpython-311.pyc
� �܋f� � �� � d dl Zd dlZd dlmZ d dlmZmZmZ d dl m Z d dlmZm Z d dlmZmZmZ dedefd �Zd edefd�Z edg d �� � Zdee dedededee f d�ZdS )� N)� namedtuple)�Any�List�Optional)�tomli)�InvalidRequirement�Requirement)�InstallationError�InvalidPyProjectBuildRequires�MissingPyProjectBuildRequires�obj�returnc �^ � t | t � � ot d� | D � � � � S )Nc 3 �@ K � | ]}t |t � � V � �d S )N)� isinstance�str)�.0�items �N/opt/cloudlinux/venv/lib64/python3.11/site-packages/pip/_internal/pyproject.py� <genexpr>z"_is_list_of_str.<locals>.<genexpr> s, � � � �(O�(O�4��D�#�)>�)>�(O�(O�(O�(O�(O�(O� )r �list�all)r s r �_is_list_of_strr s. � ��c�4� � �O�S�(O�(O�3�(O�(O�(O�%O�%O�Or �unpacked_source_directoryc �B � t j � | d� � S )Nzpyproject.toml)�os�path�join)r s r �make_pyproject_pathr s � � �7�<�<�1�3C�D�D�Dr �BuildSystemDetails)�requires�backend�check�backend_path� use_pep517�pyproject_toml�setup_py�req_namec �F � t j � |� � }t j � |� � }|s|st |� d�� � �|ret |d�� � 5 }t j |� � � � � }ddd� � n# 1 swxY w Y |� d� � }nd}|r|s| �| st d� � �d} ny|r3d|v r/| �*| s(t d � |d � � � � �d} nD| �B|p?t j � d � � pt j � d� � } | �J �| sdS |�dgd d�}|�J �d|vrt |�� � �|d } t | � � st |d�� � �| D ]9} t! | � � �# t"