summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2015-07-29 14:42:16 +0200
committerFolker Bernitt <fbernitt@thoughtworks.com>2015-08-11 17:00:29 +0200
commit90b304517f6f989b81375a2a71080e8fe853578a (patch)
tree1501cb48c8a0ec191f93cea0db3143dd4f4909f0
parentb9cce7bedf79878e1b28b85cf0f43fa546d79084 (diff)
Install develop HEAD dependencies on ./go setup.
- Allows to build user agent using latest dependencies - does not need extra pypi server with packages
-rw-r--r--service/develop_requirements.txt10
-rwxr-xr-xservice/go1
-rw-r--r--service/setup.py1
3 files changed, 12 insertions, 0 deletions
diff --git a/service/develop_requirements.txt b/service/develop_requirements.txt
new file mode 100644
index 00000000..29fabcb5
--- /dev/null
+++ b/service/develop_requirements.txt
@@ -0,0 +1,10 @@
+--allow-external u1db --allow-unverified u1db
+--allow-external dirspec --allow-unverified dirspec
+-e 'git+https://github.com/pixelated-project/leap_pycommon.git#egg=leap.common'
+-e 'git+https://github.com/pixelated-project/leap_auth.git#egg=leap.auth'
+-e 'git+https://github.com/pixelated-project/soledad.git#egg=leap.soledad.common&subdirectory=common/'
+-e 'git+https://github.com/pixelated-project/soledad.git#egg=leap.soledad.client&subdirectory=client/'
+-e 'git+https://github.com/pixelated-project/soledad.git@develop#egg=leap.soledad.server&subdirectory=server/'
+-e 'git+https://github.com/pixelated-project/keymanager.git@develop#egg=leap.keymanager'
+-e 'git+https://github.com/pixelated-project/leap_mail.git@develop#egg=leap.mail'
+
diff --git a/service/go b/service/go
index e7ba4b65..15168e28 100755
--- a/service/go
+++ b/service/go
@@ -17,6 +17,7 @@ function resolveNumOfCores {
function setuppy {
echo "Installing Pixelated User Agent."
+ pip install -r develop_requirements.txt
pip install -r test_requirements.txt
python setup.py develop $*
pip uninstall -y scrypt; pip install scrypt
diff --git a/service/setup.py b/service/setup.py
index da95bfee..cce41e18 100644
--- a/service/setup.py
+++ b/service/setup.py
@@ -52,6 +52,7 @@ setup(name='pixelated-user-agent',
'srp==1.0.4',
'dirspec==4.2.0',
'u1db==13.09',
+# 'leap.mail>=0.4.0', # not in a stable repo yet, see requirements.txt
'leap.auth==0.1.2',
'whoosh==2.5.7'
],