nvidia-ml-py is Python 2-only (shame)

pull/1039/merge
Alessio Sergi 2017-02-07 12:17:27 +01:00
parent bca8784804
commit f468367522
3 changed files with 3 additions and 3 deletions

View File

@ -61,7 +61,7 @@ Optional dependencies:
- ``influxdb`` (for the InfluxDB export module)
- ``matplotlib`` (for graphical/chart support)
- ``netifaces`` (for the IP plugin)
- ``nvidia-ml-py`` (for the GPU plugin)
- ``nvidia-ml-py`` (for the GPU plugin) [Python 2-only]
- ``pika`` (for the RabbitMQ/ActiveMQ export module)
- ``potsdb`` (for the OpenTSDB export module)
- ``py3sensors`` (for hardware monitoring support) [Linux-only]

View File

@ -8,7 +8,7 @@ elasticsearch
influxdb
matplotlib
netifaces
nvidia-ml-py
nvidia-ml-py; python_version == "2.7"
pika
potsdb
py-cpuinfo

View File

@ -87,7 +87,7 @@ setup(
'export': ['bernhard', 'cassandra-driver', 'couchdb', 'elasticsearch',
'influxdb>=1.0.0', 'pika', 'potsdb', 'pyzmq', 'statsd'],
'folders:python_version<"3.5"': ['scandir'],
'gpu': ['nvidia-ml-py'],
'gpu:python_version=="2.7"': ['nvidia-ml-py'],
'ip': ['netifaces'],
'raid': ['pymdstat'],
'snmp': ['pysnmp'],