diff options
-rw-r--r-- | optional-requirements.txt | 1 | ||||
-rwxr-xr-x | setup.py | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/optional-requirements.txt b/optional-requirements.txt index 69a91a45..fa3d7025 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -1,6 +1,7 @@ # install with base requirements file -r requirements.txt +batinfo bernhard bottle cassandra-driver @@ -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()]}) |