관리-도구
편집 파일: wheel_editable.cpython-312.pyc
� G��e� � � � d dl Z d dlZd dlmZ d dlmZmZ d dlmZ e j e � Zdedededed ee f d �Z y)� N)�Optional)�BuildBackendHookCaller�HookMissing)�runner_with_spinner_message�name�backend�metadata_directory�tempd�returnc � � |�J � t j d|� t d| � d�� }|j |� 5 |j ||�� } ddd� t j j |� S # t $ r)}t j d| |� Y d}~ddd� yd}~ww xY w# 1 sw Y �^xY w# t $ r t j d| � Y yw xY w)z�Build one InstallRequirement using the PEP 660 build process. Returns path to wheel if successfully built. Otherwise, returns None. NzDestination directory: %szBuilding editable for z (pyproject.toml))r zLCannot build editable %s because the build backend does not have the %s hookzFailed building editable for %s)�logger�debugr �subprocess_runner�build_editabler �error� Exception�os�path�join)r r r r �runner� wheel_name�es ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/operations/build/wheel_editable.py�build_wheel_editabler s� � � �)�)�����0�%�8�,�$�T�F�*;�<� �� � &� &�v� .� � �$�3�3��'9� 4� � � �"