summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-11-02 12:01:59 -0400
committerKali Kaneko <kali@leap.se>2015-11-02 12:01:59 -0400
commit0c0755b8e821100324d98fb082067a91fd63a3bf (patch)
tree1027bebcc132eaea7eafa070259c5df4319f628a
parent3fabc788c27b2c2619d8e23b3eebc018b95faf7a (diff)
[pkg] rename extras to 'http'
and document the dependencies on the README.
-rw-r--r--README.rst7
-rw-r--r--setup.py2
2 files changed, 8 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index 0aed339..349edce 100644
--- a/README.rst
+++ b/README.rst
@@ -22,3 +22,10 @@ Library dependencies
Python dependencies
-------------------
* See ``pkg/requirements.pip``
+
+Extras
+-------------------
+Using `leap.common.http` needs some extra dependencies (twisted.web >= 14.0.2,
+python-service-identity). You can install them by running::
+
+ pip install leap.common[http]
diff --git a/setup.py b/setup.py
index ae0ec63..d62f2a6 100644
--- a/setup.py
+++ b/setup.py
@@ -144,6 +144,6 @@ setup(
# needed for leap.common.http
# service_identity needed for propper hostname identification,
# see http://twistedmatrix.com/documents/current/core/howto/ssl.html
- 'Twisted': ["Twisted>=14.0.2", "service_identity", "zope.interface"]
+ 'http': ["Twisted>=14.0.2", "service_identity", "zope.interface"]
},
)