관리-도구
편집 파일: wheel.cpython-38.pyc
U &?�f3 � @ s\ d dl Z d dlZd dlmZ d dlmZ d dlmZ e �e �Z eeeeee d�dd�ZdS )� N)�Optional)�BuildBackendHookCaller)�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 �R/opt/hc_python/lib/python3.8/site-packages/pip/_internal/operations/build/wheel.py�build_wheel_pep517 s ��r ) �loggingr �typingr �pip._vendor.pyproject_hooksr �pip._internal.utils.subprocessr � getLogger�__name__r �strr r r r r �<module> s �