Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
installed.py
Go to the documentation of this file.
1from pip._internal.distributions.base import AbstractDistribution
2from pip._internal.index.package_finder import PackageFinder
3from pip._internal.metadata import BaseDistribution
4
5
7 """Represents an installed package.
8
9 This does not need any preparation as the required information has already
10 been computed.
11 """
12
13 def get_metadata_distribution(self) -> BaseDistribution:
14 assert self.req.satisfied_by is not None, "not actually installed"
15 return self.req.satisfied_by
16
18 self,
19 finder: PackageFinder,
20 build_isolation: bool,
21 check_build_deps: bool,
22 ) -> None:
23 pass
None prepare_distribution_metadata(self, PackageFinder finder, bool build_isolation, bool check_build_deps)
Definition installed.py:22