diff options
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -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, ) |