3 ”Reã@s`ddlmZddlmZddlmZddlmZerLddlm Z ddl m Z Gdd„deƒZ d S) é)ÚZipFile)ÚAbstractDistribution)ÚMYPY_CHECK_RUNNING)Ú$pkg_resources_distribution_for_wheel)Ú Distribution)Ú PackageFinderc@s eZdZdZdd„Zdd„ZdS)ÚWheelDistributionzqRepresents a wheel distribution. This does not need any preparation as wheels can be directly unpacked. c CsH|jjs t‚|jjst‚t|jjdd��}t||jj|jjƒSQRXdS)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Únamerr)Ú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_distributions   z0WheelDistribution.get_pkg_resources_distributioncCsdS)Nr)rÚfinderÚbuild_isolationrrrÚprepare_distribution_metadata"sz/WheelDistribution.prepare_distribution_metadataN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrrrrr srN) ÚzipfilerÚ pip._internal.distributions.baserÚpip._internal.utils.typingrÚpip._internal.utils.wheelrZpip._vendor.pkg_resourcesrÚ"pip._internal.index.package_finderrrrrrrÚs