batinfo not in docker image (and in requirements files...) ? #1915

This commit is contained in:
nicolargo 2021-08-14 11:24:10 +02:00
parent ab3f849d0f
commit ed8cd9f8ad
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# install with base requirements file
-r requirements.txt
batinfo
bernhard
bottle
cassandra-driver

View File

@ -68,10 +68,13 @@ def get_install_extras_require():
'sparklines': ['sparklines'],
'web': ['bottle', 'requests'],
'wifi': ['wifi']
#'gpu' and 'sensors' ==> See bellow
}
if PY3:
extras_require['export'].append('influxdb-client')
extras_require['gpu'] = ['py3nvml']
if sys.platform.startswith('linux'):
extras_require['sensors'] = ['batinfo']
# Add automatically the 'all' target
extras_require.update({'all': [i[0] for i in extras_require.values()]})