
    dh8                    x    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y)    )annotationsN)BuildBackendHookCaller)runner_with_spinner_messagec                R   |J 	 t         j                  d|       t        d|  d      }|j                  |      5  |j	                  ||      }ddd       t        j                  j                  |      S # 1 sw Y   )xY w# t
        $ r t         j                  d|        Y yw xY w)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))metadata_directoryzFailed building wheel for %s)
loggerdebugr   subprocess_runnerbuild_wheel	Exceptionerrorospathjoin)namebackendr   tempdrunner
wheel_names         f/var/www/html/vivango/api/ia/venv/lib/python3.12/site-packages/pip/_internal/operations/build/wheel.pybuild_wheel_pep517r      s     )))0%8,!$'89
 &&v. 	 ,,#5 - J	 77<<z**	 	
  3T:s(   6B A8B 8B=B B&%B&)
r   strr   r   r   r   r   r   returnz
str | None)
__future__r   loggingr   pip._vendor.pyproject_hooksr   pip._internal.utils.subprocessr   	getLogger__name__r   r        r   <module>r"      sY    "  	 > F			8	$+
+#+ + 	+
 +r!   