From 0c0755b8e821100324d98fb082067a91fd63a3bf Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 2 Nov 2015 12:01:59 -0400 Subject: [pkg] rename extras to 'http' and document the dependencies on the README. --- README.rst | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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"] }, ) -- cgit v1.2.3