Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
InstalledDistribution Class Reference
Inheritance diagram for InstalledDistribution:
Collaboration diagram for InstalledDistribution:

Public Member Functions

BaseDistribution get_metadata_distribution (self)
 
None prepare_distribution_metadata (self, PackageFinder finder, bool build_isolation, bool check_build_deps)
 
- Public Member Functions inherited from AbstractDistribution
None __init__ (self, InstallRequirement req)
 

Additional Inherited Members

- Data Fields inherited from AbstractDistribution
 req
 

Detailed Description

Represents an installed package.

This does not need any preparation as the required information has already
been computed.

Definition at line 6 of file installed.py.

Member Function Documentation

◆ get_metadata_distribution()

BaseDistribution get_metadata_distribution (   self)

Reimplemented from AbstractDistribution.

Definition at line 13 of file installed.py.

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

References AbstractDistribution.req, SourceDistribution.req, HashError.req, HashMissing.req, FrozenRequirement.req, InstallRequirement.req, VersionConflict.req(), and DistributionNotFound.req().

Here is the call graph for this function:

◆ prepare_distribution_metadata()

None prepare_distribution_metadata (   self,
PackageFinder  finder,
bool  build_isolation,
bool  check_build_deps 
)

Reimplemented from AbstractDistribution.

Definition at line 17 of file installed.py.

22 ) -> None:
23 pass

The documentation for this class was generated from the following file: