관리-도구
편집 파일: metadata.cpython-311.pyc
� �܋f� � �j � d Z ddlZddlmZ ddlmZ ddlmZmZ ddl m Z ddlmZ ded ed e de fd�ZdS ) z4Metadata generation logic for source distributions. � N)�BuildBackendHookCaller)�BuildEnvironment)�InstallationSubprocessError�MetadataGenerationFailed)�runner_with_spinner_message)� TempDirectory� build_env�backend�details�returnc � � t dd�� � }|j }| 5 t d� � }|� |� � 5 |� |� � }n## t $ r}t |�� � |�d}~ww xY w ddd� � n# 1 swxY w Y ddd� � n# 1 swxY w Y t j � ||� � 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_wheelr r �os�join)r r r �metadata_tmpdir�metadata_dir�runner�distinfo_dir�errors �^/opt/cloudlinux/venv/lib64/python3.11/site-packages/pip/_internal/operations/build/metadata.py�generate_metadatar s� � � $�):�T�R�R�R�O�"�'�L� � S� S� -�-R�S�S�� � &� &�v� .� .� S� S� S�&�G�G��U�U����.� S� S� S�.�w�G�G�G�U�R����� S���� � S� S� S� S� S� S� S� S� S� S� S���� S� S� S� S� S� S� S� S� S� S� S� S� S� S� S���� S� S� S� S� �7�<�<��l�3�3�3sY �%B� B�A�B� A8�"A3�3A8�8B�<B�B �B�B �B�B#�&B#)�__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&