autosuspend is designed for Python 3 and does not work with Python 2.
The minimal requirements are.
Additionally, the some checks need further dependencies to function properly. Please refer to Available activity checks for individual requirements.
If checks using URLs to load data should support
file:// URLs, requests-file is needed.
Installation from official package sources:
apt-get install autosuspend
Patrick Holthaus has provided an ebuild for Gentoo in his overlay. You can use it as follows:
eselect repository enable pholthaus-overlay
emaint sync -r pholthaus-overlay
In case you want to generate a package for a different Linux distribution, I’d be glad to hear about that.
autosuspend provides a usual
setup.py file for installation using common setuptools methods.
Briefly, the following steps are necessary to install autosuspend:
git clone https://github.com/languitar/autosuspend.git
python3 setup.py install # with desired options
To build the documentation, the following command can be used:
python3 setup.py build_sphinx