summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-03-10 18:43:41 -0300
committerdrebs <drebs@leap.se>2013-03-10 18:43:41 -0300
commit435bffa2e565f0fe92c95e32b0a4ed3dada3c900 (patch)
tree1d213c91740fabbf3d5e077699450d5061e2954a
parent76082cf2086205fc5f82f886caaa193cf6ca9f12 (diff)
Add requirements and tests to setup.py.
-rw-r--r--setup.py27
1 files changed, 19 insertions, 8 deletions
diff --git a/setup.py b/setup.py
index a4cb6637..3ecb29d3 100644
--- a/setup.py
+++ b/setup.py
@@ -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,
)
-