관리-도구
편집 파일: wheel.cpython-38.pyc
U ʗRe' � @ s\ d dl Z d dlZd dlmZ d dlmZ d dlmZ e �e �Z eeeeee d�dd�ZdS )� N)�Optional)�Pep517HookCaller)�runner_with_spinner_message)�name�backend�metadata_directory�tempd�returnc C s� |dk st �zDt�d|� td| � d��}|�|�� |j||d�}W 5 Q R X W n" tk rr t�d| � Y dS X tj � ||�S )z�Build one InstallRequirement using the PEP 517 build process. Returns path to wheel if successfully built. Otherwise, returns None. NzDestination directory: %szBuilding wheel for z (pyproject.toml))r zFailed building wheel for %s)�AssertionError�logger�debugr �subprocess_runner�build_wheel� Exception�error�os�path�join)r r r r �runner� wheel_name� r ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_internal/operations/build/wheel.py�build_wheel_pep517 s ��r ) �loggingr �typingr Zpip._vendor.pep517.wrappersr �pip._internal.utils.subprocessr � getLogger�__name__r �strr r r r r �<module> s �