7. Installation¶
7.2. Non-Python dependencies¶
7.3. Installation¶
7.3.1. Server¶
Install smartmontools on your system with your prefered package manager.
Install fand with:
$ pip install fand[server]
7.3.2. Raspberry Pi client¶
Install fand with one of the following commands:
Install with RPi.GPIO:
$ pip install fand[clientrpi-rpi-gpio]Install with pigpio:
$ pip install fand[clientrpi-pigpio]Install with RPIO:
$ pip install fand[clientrpi-rpio]
7.3.4. Custom installation¶
You can cumulate extra dependencies:
$ pip install fand[server,clientrpi-pigpio]
7.3.5. Documentation¶
To build the documentation, you can install fand with:
$ pip install fand[doc]
Download the fand source code:
$ pip download --no-deps --no-binary fand fand
$ tar -xf <filename>
$ cd <directory>
And build the documentation with:
$ cd doc
$ make html
The documentation will be built in the build
directory.
7.3.6. Testing¶
To run CI or QA tests, you can install fand with:
$ pip install fand[test]
Run the tests with:
$ tox
7.4. Python version support¶
7.5. Operating system support¶
7.5.1. Server¶
- Linux
- FreeBSD
- Windows: untested, missing support for CPU temperature monitoring (
psutil.sensors_temperatures()
does not supports Windows)
7.5.2. Raspberry Pi client¶
- Linux
- Windows: untested
- FreeBSD: unsupported, missing support for any of the gpiozero’s backend for PWM
7.5.3. Other modules¶
- Any OS with Python