comparison planemo/lib/python3.7/site-packages/pip/_internal/distributions/wheel.py @ 1:56ad4e20f292 draft

"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author guerler
date Fri, 31 Jul 2020 00:32:28 -0400
parents
children
comparison
equal deleted inserted replaced
0:d30785e31577 1:56ad4e20f292
1 from pip._vendor import pkg_resources
2
3 from pip._internal.distributions.base import AbstractDistribution
4
5
6 class WheelDistribution(AbstractDistribution):
7 """Represents a wheel distribution.
8
9 This does not need any preparation as wheels can be directly unpacked.
10 """
11
12 def get_pkg_resources_distribution(self):
13 return list(pkg_resources.find_distributions(
14 self.req.source_dir))[0]
15
16 def prepare_distribution_metadata(self, finder, build_isolation):
17 pass