comparison planemo/lib/python3.7/site-packages/pip/_internal/distributions/installed.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._internal.distributions.base import AbstractDistribution
2
3
4 class InstalledDistribution(AbstractDistribution):
5 """Represents an installed package.
6
7 This does not need any preparation as the required information has already
8 been computed.
9 """
10
11 def get_pkg_resources_distribution(self):
12 return self.req.satisfied_by
13
14 def prepare_distribution_metadata(self, finder, build_isolation):
15 pass