Add documentation about deps

This commit is contained in:
nicolargo 2018-08-05 17:08:05 +02:00
parent a7646b6499
commit 172fc2ca2c
3 changed files with 5 additions and 2 deletions

1
NEWS
View File

@ -70,6 +70,7 @@ Backward-incompatible changes:
* Support for psutil < 5.3.0 has been dropped
* Minimum supported Docker API version is now 1.21 (Docker plugins)
* Support for InfluxDB < 0.9 is deprecated (InfluxDB exporter)
* Zeroconf lib should be pinned to 0.19.1 for Python 2.x
* --disable-<plugin> no longer available (use --disable-plugin <plugin>)
* --export-<exporter> no longer available (use --export <exporter>)

View File

@ -21,4 +21,5 @@ requests
scandir; python_version < "3.5"
statsd
wifi
zeroconf
zeroconf==0.19.1; python_version < "3.0"
zeroconf; python_version >= "3.0"

View File

@ -32,7 +32,8 @@ from glances.compat import text_type
import requests
SERVER_PORT = 61234
URL = "http://localhost:%s/api/2" % SERVER_PORT
API_VERSION = 2
URL = "http://localhost:{}/api/{}".format(SERVER_PORT, API_VERSION)
pid = None
# Unitest class