summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2017-03-02 21:03:51 +0100
committernicolargo <nicolas@nicolargo.com>2017-03-02 21:03:51 +0100
commite2804a6010a726cdb3812df471073a7c203fbad4 (patch)
tree5de90684e515754981fdeae4c2ea08dee4a56d95
parent2d73480312547308685d51571973e0e7744231b4 (diff)
Add requests as a prerequisite for Cloud plugin
-rw-r--r--README.rst4
-rwxr-xr-xsetup.py1
2 files changed, 3 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 6055e200..3fbb7456 100644
--- a/README.rst
+++ b/README.rst
@@ -68,7 +68,7 @@ Optional dependencies:
- ``pysnmp`` (for SNMP support)
- ``pystache`` (for the action script feature)
- ``pyzmq`` (for the ZeroMQ export module)
-- ``requests`` (for the Ports plugin)
+- ``requests`` (for the Ports and Cloud plugins)
- ``scandir`` (for the Folders plugin) [Only for Python < 3.5]
- ``statsd`` (for the StatsD export module)
- ``wifi`` (for the wifi plugin) [Linux-only]
@@ -134,7 +134,7 @@ features (like the Web interface, exports modules...):
.. code-block:: console
- pip install glances[action,browser,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]
+ pip install glances[action,browser,cloud,cpuinfo,chart,docker,export,folders,gpu,ip,raid,snmp,web,wifi]
To upgrade Glances to the latest version:
diff --git a/setup.py b/setup.py
index 7eab9392..28fe9271 100755
--- a/setup.py
+++ b/setup.py
@@ -80,6 +80,7 @@ setup(
extras_require={
'action': ['pystache'],
'browser': ['zeroconf>=0.17'],
+ 'cloud': ['requests'],
'cpuinfo': ['py-cpuinfo'],
'chart': ['matplotlib'],
'docker': ['docker>=2.0.0'],