HEX
Server: LiteSpeed
System: Linux server902.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: deshuvsd (2181)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //opt/hc_python/lib/python3.12/site-packages/build/__pycache__/util.cpython-312.pyc
�

J�/i0���ddlmZddlZddlZddlZddlmZddlmZddl	m
Z
mZddlm
Z
dd�Z	d
ejd	�							dd
�ZdgZy)�)�annotationsN�)�ProjectBuilder)�	importlib)�StrPath�SubprocessRunner)�DefaultIsolatedEnvc��tj�5}tj|j	|��}t
jj|�j}|�J�|cddd�S#1swYyxYw)N)�tempfile�TemporaryDirectory�pathlib�Path�
metadata_pathr�metadata�PathDistribution)�builder�tmpdir�pathrs    �9/opt/hc_python/lib/python3.12/site-packages/build/util.py�_project_wheel_metadatars`��	�	$�	$�	&�&��|�|�G�1�1�&�9�:���%�%�6�6�t�<�E�E���#�#�#��	
'�	&�	&�s�AA2�2A;��runnerc�2�|rrt�5}tj|||��}|j|j�|j|jd��t
|�cddd�St||��}t
|�S#1swYyxYw)a�
    Return the wheel metadata for a project.

    Uses the ``prepare_metadata_for_build_wheel`` hook if available,
    otherwise ``build_wheel``.

    :param source_dir: Project source directory
    :param isolated: Whether or not to run invoke the backend in the current
                     environment or to create an isolated one and invoke it
                     there.
    :param runner: An alternative runner for backend subprocesses
    r�wheelN)r	r�from_isolated_env�install�build_system_requires�get_requires_for_buildr)�
source_dir�isolatedr�envrs     r�project_wheel_metadatar"s���&�
�
!�S�$�6�6�����G�

�K�K��5�5�6��K�K��6�6�w�?�@�*�7�3�"�
!�!���
��'�w�/�/�"�
!�s�AB
�
Br")rr�return�"importlib.metadata.PackageMetadata)T)rrr �boolrrr#r$)�
__future__rr
r�pyproject_hooks�r�_compatr�_typesrrr!r	r�quiet_subprocess_runnerr"�__all__��r�<module>r/so��#������-�#���"0� /�F�F�	"0��"0��"0�
�	"0�
(�"0�L��r.