diff options
author | drebs <drebs@leap.se> | 2013-03-10 18:43:41 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2013-03-10 18:43:41 -0300 |
commit | 435bffa2e565f0fe92c95e32b0a4ed3dada3c900 (patch) | |
tree | 1d213c91740fabbf3d5e077699450d5061e2954a | |
parent | 76082cf2086205fc5f82f886caaa193cf6ca9f12 (diff) |
Add requirements and tests to setup.py.
-rw-r--r-- | setup.py | 27 |
1 files changed, 19 insertions, 8 deletions
@@ -1,14 +1,25 @@ -from setuptools import setup +from setuptools import ( + setup, + find_packages +) -requirements = [ +install_requirements = [ 'python-gnupg', 'u1db', 'oauth', 'couchdb', 'configparser', - # TODO: add a dependency for leap client - #'leap_client', + 'simplejson', + 'pysqlite', + # TODO: add dependency for leap client ? + # TODO: add dependency for pysqlcipher. +] + + +tests_requirements = [ + 'nose2', + 'testscenarios', ] @@ -28,9 +39,9 @@ setup( "LEAP client, an API for data storage and sync." ), namespace_packages=["leap"], - packages=['leap', 'leap.soledad', 'leap.soledad.backends'], + packages=find_packages('src', exclude=['leap.soledad.tests']), package_dir = {'': 'src'}, - test_suite='leap.soledad.tests', - install_requires=requirements, + test_suite='nose2.collector.collector', + install_requires=install_requirements, + tests_requires=tests_requirements, ) - |