Re@sddlmZddlmZddlmZddlmZerfddlm Z ddl m Z GdddeZ d S) )ZipFile)AbstractDistribution)MYPY_CHECK_RUNNING)$pkg_resources_distribution_for_wheel) Distribution) PackageFinderc@s.eZdZdZddZddZdS)WheelDistributionzqRepresents a wheel distribution. This does not need any preparation as wheels can be directly unpacked. c Csf|jjst|jjs$tt|jjdd#}t||jj|jjSWdQRXdS)zLoads the metadata from the wheel file into memory and returns a Distribution that uses it, not relying on the wheel file or requirement. allowZip64TN)reqlocal_file_pathAssertionErrornamerr)selfzr/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/distributions/wheel.pyget_pkg_resources_distributions z0WheelDistribution.get_pkg_resources_distributioncCsdS)Nr)rfinderbuild_isolationrrrprepare_distribution_metadata"sz/WheelDistribution.prepare_distribution_metadataN)__name__ __module__ __qualname____doc__rrrrrrr s  rN) zipfiler pip._internal.distributions.baserpip._internal.utils.typingrpip._internal.utils.wheelrZpip._vendor.pkg_resourcesr"pip._internal.index.package_finderrrrrrrs