U ja@sPddlmZddlmZddlmZddlmZddlm Z GdddeZ dS) )ZipFile) Distribution)AbstractDistribution) PackageFinder)$pkg_resources_distribution_for_wheelc@s0eZdZdZedddZeeddddZdS) WheelDistributionzqRepresents a wheel distribution. This does not need any preparation as wheels can be directly unpacked. )returnc CsT|jjs t|jjstt|jjdd"}t||jj|jjW5QRSQRXdS)zLoads 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)reqlocal_file_pathAssertionErrornamerr)selfzry/private/var/folders/k6/_7fsz4ts3b78x3b3xwrxjh_c8s8xv7/T/pip-unpacked-wheel-bug3gbve/pip/_internal/distributions/wheel.pyget_pkg_resources_distributions  z0WheelDistribution.get_pkg_resources_distributionN)finderbuild_isolationrcCsdS)Nr)rrrrrrprepare_distribution_metadatasz/WheelDistribution.prepare_distribution_metadata) __name__ __module__ __qualname____doc__rrrboolrrrrrr s rN) zipfilerZpip._vendor.pkg_resourcesr pip._internal.distributions.baser"pip._internal.index.package_finderrpip._internal.utils.wheelrrrrrrs