Installation instructions

autosuspend is designed for Python 3 and does not work with Python 2.

Requirements

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.

Binary packages

Debian (testing)

Installation from official package sources:

apt-get install autosuspend

Archlinux (AUR)

autosuspend is available as an Archlinux AUR package.

Installation via aurman:

aurman -S autosuspend

Other AUR helpers may be used, too.

Gentoo

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
emerge sys-apps/autosuspend

Other distributions

In case you want to generate a package for a different Linux distribution, I’d be glad to hear about that.

From-source installation

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
cd autosuspend
python3 setup.py install # with desired options

To build the documentation, the following command can be used:

python3 setup.py build_sphinx