pyre.platforms.Managed¶
Module Contents¶
-
class
pyre.platforms.Managed.Managed¶ Bases:
pyre.componentSupport for un*x systems that don’t have package management facilities
-
_prefix¶
-
prefix(self)¶ Retrieve the package manager install location
-
installed(self)¶ Retrieve available information for all installed packages
-
info(self, package)¶ Return the available information about {package}
-
packages(self, category)¶ Provide a sequence of package names that provide compatible installations for the given package {category}.
-
contents(self, package)¶ Retrieve the contents of the {package}
-
configure(self, installation)¶ Dispatch to the {installation} configuration procedure that is specific to this package manager
-
find(self, target, pile)¶ Interpret {target} as a regular expression and return a sequence of the contents of {pile} that match it.
This is intended as a way to scan through the contents of packages to find a path that matches {target}
-
findfirst(self, target, contents)¶ Locate the path to {target} in the {contents} of some package
-
locate(self, targets, paths)¶ Generate a sequence of the full {paths} to the {targets}
-