summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py21
1 files changed, 18 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index c0d1b7e..c0bd98f 100644
--- a/setup.py
+++ b/setup.py
@@ -19,11 +19,25 @@ setup file for leap.common
"""
from setuptools import setup, find_packages
+# XXX parse pkg/requirements.pip
requirements = [
+ "jsonschema",
+ "pyxdg",
+ 'protobuf',
+ 'protobuf.socketrpc',
"PyOpenSSL",
"python-dateutil",
]
+
+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",
+ "https://code.google.com/p/protobuf-socket-rpc/downloads/detail?name=protobuf.socketrpc-1.3.2.tar.gz#egg=protobuf.socketrpc",
+]
+
+
# XXX add classifiers, docs
setup(
@@ -39,7 +53,8 @@ setup(
),
namespace_packages=["leap"],
package_dir={'': 'src'},
- packages=find_packages('src'),
- #test_suite='leap.common.tests',
- #install_requires=requirements,
+ packages=find_packages('src', exclude=['leap.common.tests']),
+ test_suite='leap.common.tests',
+ install_requires=requirements,
+ dependency_links=dependency_links,
)