diff options
author | nicolargo <nicolas@nicolargo.com> | 2021-08-14 11:24:10 +0200 |
---|---|---|
committer | nicolargo <nicolas@nicolargo.com> | 2021-08-14 11:24:10 +0200 |
commit | ed8cd9f8ad5b5109006ad0e72da735b38b64fcfb (patch) | |
tree | 85430690595b65187613fadd152c581db2f0e770 /setup.py | |
parent | ab3f849d0f75991f8d9b84368cb1b169b7ded192 (diff) |
batinfo not in docker image (and in requirements files...) ? #1915
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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()]}) |