HEX
Server: nginx/1.24.0
System: Linux webserver 6.8.0-85-generic #85-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 18 15:26:59 UTC 2025 x86_64
User: wpuser (1002)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc
�

��h���^�ddlmZddlmZddlmZddlmZddlm	Z	m
Z
mZGd�de�Zy)	�)�Optional)�canonicalize_name)�AbstractDistribution)�
PackageFinder)�BaseDistribution�FilesystemWheel�get_wheel_distributionc�P�eZdZdZedeefd��Zdefd�Z	de
dededdfd	�Zy)
�WheelDistributionzqRepresents a wheel distribution.

    This does not need any preparation as wheels can be directly unpacked.
    �returnc��y�N�)�selfs �C/usr/lib/python3/dist-packages/pip/_internal/distributions/wheel.py�build_tracker_idz"WheelDistribution.build_tracker_ids���c��|jjsJd��|jjsJd��t|jj�}t	|t|jj��S)z�Loads the metadata from the wheel file into memory and returns a
        Distribution that uses it, not relying on the wheel file or
        requirement.
        z*Set as part of preparation during downloadzWheels are never unnamed)�req�local_file_path�namerr	r)r�wheels  r�get_metadata_distributionz+WheelDistribution.get_metadata_distributionsb��
�x�x�'�'�U�)U�U�'��x�x�}�}�8�8�8�}����� 8� 8�9��%�e�->�t�x�x�}�}�-M�N�Nr�finder�build_isolation�check_build_depsNc��yrr)rrrrs    r�prepare_distribution_metadataz/WheelDistribution.prepare_distribution_metadata"s��	
r)
�__name__�
__module__�__qualname__�__doc__�propertyr�strrrrr�boolrrrrrrs`���
��(�3�-����O�+;�O�
��
��
��	
�

�
rrN)
�typingr�pip._vendor.packaging.utilsr� pip._internal.distributions.baser�"pip._internal.index.package_finderr�pip._internal.metadatarrr	rrrr�<module>r+s(���9�A�<���
�,�
r