cmaize.targets/installed_target
- class cmaize.targets/installed_target.InstalledTarget
Bases:
CMaizeTarget
Wraps a target that is already installed on the system.
Additional Constructors
- CTOR(_ctor_name, _ctor_root)
Instantiate a target for a resource that is already installed.
- Parameters:
self (InstalledTarget) – InstalledTarget object
root (path) – The top of the install location for the resource. Must already exist.
_ctor_name (str)
_ctor_root (path)
- Returns:
self
will be set to the new instance ofInstalledTarget
- Return type:
- Raises:
DirectoryNotFound – Root directory was not found.
Attributes
- root_path
- Type:
path
The root directory of the installation.