관리-도구
편집 파일: build.cpython-311.pyc
� �Re� � �� � d Z ddlZddlZddlZddlZddlZddlmZ ddlm Z ddl mZmZ ddl mZmZ ej e� � Zd� Zd � Zd � Zd� Zdd�Z ej � � Ze� d d�� � e� dddd�� � e� dddd�� � e� ddd�� � d� Zedk r ee� � � � � dS dS )z%Build a project using PEP 517 hooks. � N� )�BuildEnvironment)�Pep517HookCaller)�tempdir�mkdir_p)�FileNotFoundError� toml_loadc � � ddh}|t | � � k s5d� |t | � � z �� � }t |� � �dS )z7 Ensure build system has the requisite fields. �requires� build-backendz"Missing required fields: {missing})�missingN)�set�format� ValueError)�system�required�messages ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/pep517/build.py�validate_systemr s_ � � �O�,�H���F���#�#�6�=�=��S��[�[�(� >� � �� ��!�!�!� $�#� c �� � t j � | d� � }t j |d� � 5 }t |� � }ddd� � n# 1 swxY w Y |d S )zC Load the build system from a source dir (pyproject.toml). zpyproject.toml�rbNzbuild-system)�os�path�join�io�openr )� source_dir� pyproject�f�pyproject_datas r �load_systemr"