[pkg] fold in changes
[leap_pycommon.git] / setup.py
index 264d04c..776a477 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -127,6 +127,7 @@ setup(
     classifiers=trove_classifiers,
     namespace_packages=["leap"],
     package_dir={'': 'src'},
+    package_data={'': ['*.pem']},
     # For now, we do not exclude tests because of the circular dependency
     # between leap.common and leap.soledad.
     #packages=find_packages('src', exclude=['leap.common.tests']),
@@ -137,4 +138,11 @@ setup(
     tests_require=tests_requirements,
     include_package_data=True,
     zip_safe=False,
+
+    extras_require={
+        # 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.insterface"]
+    },
 )