Refactor some deps

This commit is contained in:
nicolargo 2023-02-25 15:17:29 +01:00
parent 2fb510afb0
commit e56b292928
2 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -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']