관리-도구
편집 파일: metadata_editable.cpython-311.pyc
� �Dg� � �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 660. Returns the generated metadata directory. zmodern-metadataT)�kind�globally_managedz,Preparing editable metadata (pyproject.toml))�package_detailsN) r �pathr �subprocess_runner�#prepare_metadata_for_build_editabler r �os�join)r r r �metadata_tmpdir�metadata_dir�runner�distinfo_dir�errors ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/operations/build/metadata_editable.py�generate_editable_metadatar s� � � $�):�T�R�R�R�O�"�'�L� � S� S� -�:� � �� � &� &�v� .� .� S� S� S�&�J�J�<�X�X����.� 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&