waft.warp_client.install_manager.macos_install_manager module¶
- class waft.warp_client.install_manager.macos_install_manager.MacOSInstallManager(node: BaseNode, warp_cli: WarpCliBase)¶
Bases:
InstallManagerBase
Install manager extended for macOS specificity
- property build_dirname: str¶
Return the name of the directory where the necessary installer can be found
- get_installer_version(installer_path) str | None ¶
.pkg file will be extracted, Info.plist parsed, and version info returned :param installer_path: Path on node to .pkg installer for which the version info will be returned
- install(install_params: WarpParams | None = None, installer: str | None = None, version: str | None = None) None ¶
Installs warp client on the underlying node.
- Parameters:
install_params – Parameters for WARP implementation defined in a WarpParams object
installer – String name of installer to be run that is expected to be in the local client_installer_directory
version – Version string of WARP client to be installed on system
Returns: None
- install_location() PurePath ¶
Locate the path of the installer, this is mostly used for uninstall purposes :return: path of the install location
- installer_file_ext: str = '.pkg'¶
- uninstall() None ¶
Uninstall the warp client from the system. If the warp client is not installed the process is skipped. :return: None