HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-310.pyc
o

@%Ne|�@sjdZddlZddlmZddlmZddlmZmZddl	m
Z
ddlmZded	ed
e
de
fdd
�ZdS)z4Metadata generation logic for source distributions.
�N)�Pep517HookCaller)�BuildEnvironment)�InstallationSubprocessError�MetadataGenerationFailed)�runner_with_spinner_message)�
TempDirectory�	build_env�backend�details�returncCs�tddd�}|j}|�;td�}|�|��"z|�|�}Wnty/}zt|d�|�d}~wwWd�n1s:wYWd�n1sIwYtj�||�S)zlGenerate metadata using mechanisms described in PEP 517.

    Returns the generated metadata directory.
    zmodern-metadataT)�kind�globally_managedz#Preparing metadata (pyproject.toml))�package_detailsN)	r�pathr�subprocess_runner� prepare_metadata_for_build_wheelrr�os�join)rr	r
�metadata_tmpdir�metadata_dir�runner�distinfo_dir�error�r�I/usr/lib/python3/dist-packages/pip/_internal/operations/build/metadata.py�generate_metadatas ������r)�__doc__r�pip._vendor.pep517.wrappersr�pip._internal.build_envr�pip._internal.exceptionsrr�pip._internal.utils.subprocessr�pip._internal.utils.temp_dirr�strrrrrr�<module>s ����