
    !2ip                    b    d dl mZ d dlZd dlZd dlmZ d dlmZ  ej        e	          Z
ddZdS )    )annotationsN)BuildBackendHookCaller)runner_with_spinner_messagenamestrbackendr   metadata_directorywheel_directoryreturn
str | Nonec                   |J 	 t                               d|           t          d|  d          }|                    |          5  |                    ||          }ddd           n# 1 swxY w Y   n,# t
          $ r t                               d|            Y dS w xY wt          j        	                    ||          S )zBuild one InstallRequirement using the PEP 517 build process.

    Returns path to wheel if successfully built. Otherwise, returns None.
    NzDestination directory: %szBuilding wheel for z (pyproject.toml))r
   r	   zFailed building wheel for %s)
loggerdebugr   subprocess_runnerbuild_wheel	Exceptionerrorospathjoin)r   r   r	   r
   runner
wheel_names         c/var/www/html/pixcura-vrs/venv/lib/python3.11/site-packages/pip/_internal/operations/build/wheel.pybuild_wheel_pep517r      s$    )))0/BBB,9$999
 
 &&v.. 	 	 ,, /#5 -  J	 	 	 	 	 	 	 	 	 	 	 	 	 	 	
    3T:::tt 7<<444s6   AA9 	A-!A9 -A11A9 4A15A9 9%B"!B")
r   r   r   r   r	   r   r
   r   r   r   )
__future__r   loggingr   pip._vendor.pyproject_hooksr   pip._internal.utils.subprocessr   	getLogger__name__r   r        r   <module>r#      s}    " " " " " "  				 > > > > > > F F F F F F		8	$	$5 5 5 5 5 5r"   