Ë
    As<gŽ  ã                   óh   — d Z ddlZddlmZ ddlmZ ddlmZmZ ddl	m
Z
 ddlmZ ded	ed
edefd„Zy)z4Metadata generation logic for source distributions.
é    N)ÚBuildBackendHookCaller)ÚBuildEnvironment)ÚInstallationSubprocessErrorÚMetadataGenerationFailed)Úrunner_with_spinner_message)ÚTempDirectoryÚ	build_envÚbackendÚdetailsÚreturnc                 óf  — t        dd¬«      }|j                  }| 5  t        d«      }|j                  |«      5  	 |j	                  |«      }	 ddd«       ddd«       t        j                  j                  |«      S # t
        $ r}t        |¬«      |‚d}~ww xY w# 1 sw Y   ŒOxY w# 1 sw Y   ŒSxY w)zlGenerate metadata using mechanisms described in PEP 517.

    Returns the generated metadata directory.
    zmodern-metadataT)ÚkindÚglobally_managedz#Preparing metadata (pyproject.toml))Úpackage_detailsN)	r   Úpathr   Úsubprocess_runnerÚ prepare_metadata_for_build_wheelr   r   ÚosÚjoin)r	   r
   r   Úmetadata_tmpdirÚmetadata_dirÚrunnerÚdistinfo_dirÚerrors           úe/home/kevstigneev/proxy/myenv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata.pyÚgenerate_metadatar      sº   € ô $Ð):ÈTÔR€Oà"×'Ñ'€Là	ñ 	Sô -Ð-RÓSˆØ×&Ñ& vÓ.ñ 	SðSØ&×GÑGÈÓU‘÷	S÷	Sô 7‰7<‰<˜ lÓ3Ð3øô /ò SÜ.¸wÔGÈUÐRûðSú÷	Sð 	Sú÷	Sð 	Sús?   œB'¹B»A=ÁB'Á=	BÂBÂBÂBÂB$	Â B'Â'B0)Ú__doc__r   Úpip._vendor.pyproject_hooksr   Úpip._internal.build_envr   Úpip._internal.exceptionsr   r   Úpip._internal.utils.subprocessr   Úpip._internal.utils.temp_dirr   Ústrr   © ó    r   ú<module>r&      sH   ðñó 
å >å 4÷õ GÝ 6ð4Øð4Ø*@ð4ØKNð4àô4r%   