d1eea4f90c
Fix the following build failure raised since the addition of the
package in commit c8ff8d41c0
:
File "/home/buildroot/autobuild/instance-2/output-1/build/python-pysensors-0.0.4/setup.py", line 3, in <module>
import sensors
File "/home/buildroot/autobuild/instance-2/output-1/build/python-pysensors-0.0.4/sensors/__init__.py", line 20, in <module>
raise ImportError("can't find the sensors library.")
Fixes:
- http://autobuild.buildroot.org/results/acd8583fb635ea27811405a2478182ddcd5642f7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
10 lines
283 B
Plaintext
10 lines
283 B
Plaintext
config BR2_PACKAGE_PYTHON_PYSENSORS
|
|
bool "python-pysensors"
|
|
select BR2_PACKAGE_LM_SENSORS # runtime
|
|
help
|
|
Python bindings for libsensors.so from the lm-sensors project
|
|
via ctypes. Supports API version 4, i.e. libsensors version
|
|
3.x.
|
|
|
|
https://pypi.org/project/PySensors
|