a
ˆlj[ ã @ sL d dl mZ d dlmZ d dlmZ d dlmZmZm Z G dd„ deƒZ
dS )é )Úcanonicalize_name)ÚAbstractDistribution)Ú
PackageFinder)ÚBaseDistributionÚFilesystemWheelÚget_wheel_distributionc @ s0 e Zd ZdZedœdd„Zeeddœdd„ZdS ) ÚWheelDistributionzqRepresents a wheel distribution.
This does not need any preparation as wheels can be directly unpacked.
)Úreturnc C s 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.
)r ZreqZlocal_file_pathr r Úname)ÚselfZwheel© r úE/usr/lib/python3.9/site-packages/pip/_internal/distributions/wheel.pyÚget_metadata_distribution s z+WheelDistribution.get_metadata_distributionN)ÚfinderÚbuild_isolationr c C s d S )Nr )r r r r r r
Úprepare_distribution_metadata s z/WheelDistribution.prepare_distribution_metadata) Ú__name__Ú
__module__Ú__qualname__Ú__doc__r r r Úboolr r r r r
r s
þr N)Zpip._vendor.packaging.utilsr Z pip._internal.distributions.baser Z"pip._internal.index.package_finderr Zpip._internal.metadatar r r r r r r r
Ú