cmaize.package_managers/package_manager

class cmaize.package_managers/package_manager.PackageManager

Base class for the PackageManager class hierarchy.

Methods

has_package()

Virtual member to check if the package exists in the package manager.

find_installed()

Virtual member function to get an installed package target.

get_package()

Virtual member function to get the package source and prepare a build target.

install_package([...])

Virtual member to install a package.

Attributes

type = "None"
Type:

desc

Type of the package manager being used. Defaults to “None”.

cmaize.package_managers/package_manager._register_package_manager_base_class()

Registers a PackageManager instance. This should only be called at the end of the file defining the PackageManager class.