관리-도구
편집 파일: wheel.cpython-36.pyc
3 �Re� � @ s^ d dl Z d dlZd dlmZ d dlmZ erHd dlmZmZ d dl m Z e je�Z dd� ZdS )� N)�runner_with_spinner_message)�MYPY_CHECK_RUNNING)�List�Optional)�Pep517HookCallerc C s� |dk st �|r tjd| � dS yBtjd|� tdj| ��}|j|�� |j||d�}W dQ R X W n tk r� tjd| � dS X t j j||�S )z�Build one InstallRequirement using the PEP 517 build process. Returns path to wheel if successfully built. Otherwise, returns None. NzFCannot build wheel for %s using PEP 517 when --build-option is presentzDestination directory: %szBuilding wheel for {} (PEP 517))�metadata_directoryzFailed building wheel for %s)�AssertionError�logger�error�debugr �format�subprocess_runner�build_wheel� Exception�os�path�join)�name�backendr � build_options�tempd�runner� wheel_name� r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/operations/build/wheel.py�build_wheel_pep517 s"