提交 ed8cd9f8 编写于 作者: N nicolargo

batinfo not in docker image (and in requirements files...) ? #1915

上级 ab3f849d
# install with base requirements file
-r requirements.txt
batinfo
bernhard
bottle
cassandra-driver
......
......@@ -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()]})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册