[pkg] rename extras to 'http'
authorKali Kaneko <kali@leap.se>
Mon, 2 Nov 2015 16:01:59 +0000 (12:01 -0400)
committerKali Kaneko <kali@leap.se>
Mon, 2 Nov 2015 16:01:59 +0000 (12:01 -0400)
and document the dependencies on the README.

README.rst
setup.py

index 0aed339..349edce 100644 (file)
@@ -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]
index ae0ec63..d62f2a6 100644 (file)
--- 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"]
     },
 )