mirror of https://github.com/nicolargo/glances.git
batinfo not in docker image (and in requirements files...) ? #1915
This commit is contained in:
parent
ab3f849d0f
commit
ed8cd9f8ad
|
|
@ -1,6 +1,7 @@
|
|||
# install with base requirements file
|
||||
-r requirements.txt
|
||||
|
||||
batinfo
|
||||
bernhard
|
||||
bottle
|
||||
cassandra-driver
|
||||
|
|
|
|||
3
setup.py
3
setup.py
|
|
@ -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()]})
|
||||
|
|
|
|||
Loading…
Reference in New Issue