add BaseConfig class and its dependencies
[leap_pycommon.git] / setup.py
index 21c34f1..45ff001 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -19,9 +19,22 @@ setup file for leap.common
 """
 from setuptools import setup, find_packages
 
+# XXX parse pkg/requirements.pip
 requirements = [
+    "jsonschema",
+    "pyxdg",
+    'protobuf',
+    'protobuf.socketrpc',
 ]
 
+
+dependency_links = [
+    # XXX this link is only for py2.6???
+    # we need to get this packaged or included
+    "https://protobuf-socket-rpc.googlecode.com/files/protobuf.socketrpc-1.3.2-py2.6.egg#egg=protobuf.socketrpc",
+]
+
+
 # XXX add classifiers, docs
 
 setup(
@@ -36,8 +49,9 @@ setup(
         "Common files used by the LEAP Client project."
     ),
     namespace_packages=["leap"],
-    package_dir = {'': 'src'},
-    packages=find_packages('src'),
-    #test_suite='leap.common.tests',
-    #install_requires=requirements,
+    package_dir={'': 'src'},
+    packages=find_packages('src', exclude=['leap.common.tests']),
+    test_suite='leap.common.tests',
+    install_requires=requirements,
+    dependency_links=dependency_links,
 )