o ¡—g[ã@sLddlmZddlmZddlmZddlmZmZm Z Gdd„deƒZ dS)é)Úcanonicalize_name)ÚAbstractDistribution)Ú PackageFinder)ÚBaseDistributionÚFilesystemWheelÚget_wheel_distributionc@s4eZdZdZdefdd„Zdededdfdd „ZdS) ÚWheelDistributionzqRepresents a wheel distribution. This does not need any preparation as wheels can be directly unpacked. ÚreturncCs>|jjsJdƒ‚|jjsJdƒ‚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. z*Set as part of preparation during downloadzWheels are never unnamed)ÚreqÚlocal_file_pathÚnamerrr)ÚselfÚwheel©rúC/usr/lib/python3/dist-packages/pip/_internal/distributions/wheel.pyÚget_metadata_distributions z+WheelDistribution.get_metadata_distributionÚfinderÚbuild_isolationNcCsdS)Nr)r rrrrrÚprepare_distribution_metadatasz/WheelDistribution.prepare_distribution_metadata) Ú__name__Ú __module__Ú __qualname__Ú__doc__rrrÚboolrrrrrr s ÿÿþrN) Úpip._vendor.packaging.utilsrÚ pip._internal.distributions.baserÚ"pip._internal.index.package_finderrÚpip._internal.metadatarrrrrrrrÚs