Dependencies¶
You will need to install the lm_sensors library first.
Archlinux: install the lm_sensors package.
Debian/Ubuntu: install the libsensors4-dev package.
Fedora: install the lm_sensors-devel and lm_sensors packages.
Feel free to give me the instructions for other distributions!
Building the module¶
Use this command to create the module in the working directory:
python setup.py build_ext --inplace
Without --inplace
, the module is placed in the build directory.
You can use python setup.py install
to install the module in the
standard Python directory for libraries.