mirror of
https://github.com/nicolargo/glances.git
synced 2024-09-11 20:57:08 +03:00
Refactor some deps
This commit is contained in:
parent
2fb510afb0
commit
e56b292928
@ -35,4 +35,4 @@ sparklines
|
||||
statsd
|
||||
wifi
|
||||
zeroconf==0.47.3; python_version < "3.7"
|
||||
zeroconf; python_version >= "3.7"
|
||||
zeroconf>=0.19.1; python_version >= "3.7"
|
||||
|
4
setup.py
4
setup.py
@ -65,7 +65,7 @@ def get_install_extras_require():
|
||||
'cloud': ['requests'],
|
||||
'docker': ['docker>=2.0.0', 'python-dateutil', 'six'],
|
||||
'export': ['bernhard', 'cassandra-driver', 'couchdb', 'elasticsearch',
|
||||
'graphitesender', 'influxdb>=1.0.0', 'kafka-python', 'pymongo',
|
||||
'graphitesender', 'influxdb>=1.0.0', 'kafka-python',
|
||||
'pika', 'paho-mqtt', 'potsdb', 'prometheus_client', 'pyzmq',
|
||||
'statsd'],
|
||||
'folders': ['scandir'], # python_version<"3.5"
|
||||
@ -81,7 +81,9 @@ def get_install_extras_require():
|
||||
}
|
||||
if PY3:
|
||||
extras_require['export'].append('influxdb-client')
|
||||
extras_require['export'].append('pymongo')
|
||||
extras_require['gpu'] = ['py3nvml']
|
||||
extras_require['podman'] = ['podman']
|
||||
if sys.platform.startswith('linux'):
|
||||
extras_require['sensors'] = ['batinfo']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user