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/distributions/__pycache__/wheel.cpython-310.pyc
o

@%Ne[�@sLddlmZddlmZddlmZddlmZmZm	Z	Gdd�de�Z
dS)�)�canonicalize_name)�AbstractDistribution)�
PackageFinder)�BaseDistribution�FilesystemWheel�get_wheel_distributionc@s4eZdZdZdefdd�Zdededdfdd	�ZdS)
�WheelDistributionzqRepresents a wheel distribution.

    This does not need any preparation as wheels can be directly unpacked.
    �returncCs>|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�namerrr)�self�wheel�r�C/usr/lib/python3/dist-packages/pip/_internal/distributions/wheel.py�get_metadata_distributionsz+WheelDistribution.get_metadata_distribution�finder�build_isolationNcCsdS)Nr)r
rrrrr�prepare_distribution_metadatasz/WheelDistribution.prepare_distribution_metadata)	�__name__�
__module__�__qualname__�__doc__rrr�boolrrrrrrs
���rN)�pip._vendor.packaging.utilsr� pip._internal.distributions.baser�"pip._internal.index.package_finderr�pip._internal.metadatarrrrrrrr�<module>s