3
”Re ã @ s` d dl mZ d dlmZ d dlmZ d dlmZ erLd dlm Z d dl
mZ G dd„ deƒZd S )
é )ÚZipFile)ÚAbstractDistribution)ÚMYPY_CHECK_RUNNING)Ú$pkg_resources_distribution_for_wheel)ÚDistribution)Ú
PackageFinderc @ s e Zd ZdZdd„ Zdd„ ZdS )ÚWheelDistributionzqRepresents a wheel distribution.
This does not need any preparation as wheels can be directly unpacked.
c C sH | j jst‚| j jst‚t| j jdd��}t|| j j| j jƒS Q R X dS )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.
T)Ú
allowZip64N)ÚreqÚlocal_file_pathÚAssertionErrorÚnamer r )ÚselfÚz© r ú�/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/distributions/wheel.pyÚget_pkg_resources_distribution s
z0WheelDistribution.get_pkg_resources_distributionc C s d S )Nr )r ÚfinderÚbuild_isolationr r r Úprepare_distribution_metadata" s z/WheelDistribution.prepare_distribution_metadataN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r r r r r r r s r N)
Úzipfiler Ú pip._internal.distributions.baser Úpip._internal.utils.typingr Úpip._internal.utils.wheelr Zpip._vendor.pkg_resourcesr Ú"pip._internal.index.package_finderr r r r r r Ú