Current File : //lib/python3.9/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-39.pyc
a

[��f[�@sLddlmZddlmZddlmZddlmZmZm	Z	Gdd�de�Z
dS)�)�canonicalize_name)�AbstractDistribution)�
PackageFinder)�BaseDistribution�FilesystemWheel�get_wheel_distributionc@s0eZdZdZed�dd�Zeedd�dd�ZdS)	�WheelDistributionzqRepresents a wheel distribution.

    This does not need any preparation as wheels can be directly unpacked.
    )�returncCs>|jjsJd��|jjs Jd��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)ZreqZlocal_file_path�namerrr)�selfZwheel�r�E/usr/lib/python3.9/site-packages/pip/_internal/distributions/wheel.py�get_metadata_distributionsz+WheelDistribution.get_metadata_distributionN)�finder�build_isolationr	cCsdS)Nr)rrrrrr
�prepare_distribution_metadatasz/WheelDistribution.prepare_distribution_metadata)	�__name__�
__module__�__qualname__�__doc__rrr�boolrrrrr
rs
�rN)Zpip._vendor.packaging.utilsrZ pip._internal.distributions.baserZ"pip._internal.index.package_finderrZpip._internal.metadatarrrrrrrr
�<module>s