Main class to manage the installation of external features.
sppasInstallerDeps is a wrapper of an Installer Object.
It allows to:
- launch the installation process
- get information, which are important for the users, about the pre-installation
- configure parameters to get a personalized installation
Example
>>> installer = sppasInstallerDeps()
See if a feature is available or not:
Example
>>> installer.available("feature_id")
>>> True
Customize what is enabled or not:
Example
>>> installer.enable("feature_id")
>>> False
>>> installer.enable("feature_id", True)
>>> True
Launch the installation process:
Example
>>> errors = installer.install("feature_id")
>>> assert len(errors) == 0
>>> assert installer.available("feature_id") is True