summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Kluenter <ckluente@thouthworks.com>2014-09-09 09:48:35 +0200
committerChristoph Kluenter <ckluente@thouthworks.com>2014-09-09 09:51:40 +0200
commit8ad3125a3883e97a1194f33d01c4be9c8af6b741 (patch)
tree17e6121c4df16c2a87d1fbf8a1d660e586d33b10
parent23dbfdfa519b671064145dcf2ee6c1296a4c29da (diff)
fix requirements
distinguish between test_requirements and running requirements.
-rw-r--r--service/requirements.txt2
-rw-r--r--service/setup.py6
-rw-r--r--service/test_requirements.txt3
3 files changed, 7 insertions, 4 deletions
diff --git a/service/requirements.txt b/service/requirements.txt
index 4087387a..954c1290 100644
--- a/service/requirements.txt
+++ b/service/requirements.txt
@@ -4,8 +4,6 @@ scanner==0.0.5
requests==2.3.0
pytest==2.6.0
#requirements for bitmask libraries
-mock==1.0.1
-httmock==1.2.2
srp==1.0.4
--allow-external dirspec
--allow-unverified dirspec
diff --git a/service/setup.py b/service/setup.py
index 9151b320..6db34e0a 100644
--- a/service/setup.py
+++ b/service/setup.py
@@ -76,11 +76,13 @@ setup(name='pixelated-user-agent',
'leap.soledad.common==0.5.2',
'leap.soledad.client==0.5.2',
'leap.mail==0.3.9-1-gc1f9c92',
+ 'gunicorn'
+ ],
+ tests_require=[
'nose',
'mock',
'httmock',
- 'mockito',
- 'gunicorn'
+ 'mockito'
],
entry_points={
'console_scripts': [
diff --git a/service/test_requirements.txt b/service/test_requirements.txt
new file mode 100644
index 00000000..26f8e6f0
--- /dev/null
+++ b/service/test_requirements.txt
@@ -0,0 +1,3 @@
+mock==1.0.1
+httmock==1.2.2
+mockito