관리-도구
편집 파일: wheel_editable.cpython-311.pyc
� �Re} � � � d dl Z d dlZd dlmZ d dlmZmZ d dlmZ e j e � � Zdedededed ee f d �Z dS )� N)�Optional)�HookMissing�Pep517HookCaller)�runner_with_spinner_message�name�backend�metadata_directory�tempd�returnc � � |�J � t � d|� � t d| � d�� � }|� |� � 5 |� ||�� � }n?# t $ r2}t � d| |� � Y d}~ddd� � dS d}~ww xY w ddd� � n# 1 swxY w Y n,# t $ r t � d| � � Y dS w xY wt j � ||� � S )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-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/operations/build/wheel_editable.py�build_wheel_editabler s� � � �)�)�)�����0�%�8�8�8�,�<�T�<�<�<� � �� � &� &�v� .� .� � � �$�3�3��'9� 4� � � � �� � � � ����8��� � � � �t�t�t� � � � � � � � ����� ���� � � � � � � � � � � � ���� � � � ��� � � � ����6��=�=�=��t�t����� �7�<�<��z�*�*�*sf �AB; � B/�A#�"B/�# B�-B� B/� B; �B�B/�#B; �/B3�3B; �6B3�7B; �;%C$�#C$)�loggingr �typingr �pip._vendor.pep517.wrappersr r �pip._internal.utils.subprocessr � getLogger�__name__r �strr � � r �<module>r$ s� �� ���� � � � � � � � � � � E� E� E� E� E� E� E� E� F� F� F� F� F� F� �� �8� $� $��"+� �"+� �"+� �"+� � "+� �c�]�"+� "+� "+� "+� "+� "+r#