OwlCyberSecurity - MANAGER
Edit File: wheel_editable.cpython-310.pyc
o ƚRe} � @ sh d dl Z d dlZd dlmZ d dlmZmZ d dlmZ e � e �Zdedededed ee f d d�Z dS )� N)�Optional)�HookMissing�Pep517HookCaller)�runner_with_spinner_message�name�backend�metadata_directory�tempd�returnc C s� |dusJ �zPt �d|� td| � d��}|�|��3 z |j||d�}W n! tyE } zt �d| |� W Y d}~W d � W dS d}~ww W d � n1 sPw Y W n tyf t �d| � Y dS w tj � ||�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�e� r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/operations/build/wheel_editable.py�build_wheel_editable s<