diff options
author | Bruno Wagner <bwagner@riseup.net> | 2015-12-28 14:35:32 -0200 |
---|---|---|
committer | Bruno Wagner <bwagner@riseup.net> | 2015-12-28 14:35:32 -0200 |
commit | 89ea58c1f7a1d29defb279cf33593c3ca971ee0f (patch) | |
tree | b5d9ca64c8f0ae5a36a4016ccce3aedbb5798216 | |
parent | 6f2b1c1d57d969ea18ada7ebb17fa442c23f88df (diff) |
Dev requirements now use u1db and dirspec from launchpad, vagrant needs bazaar for that to work
-rw-r--r-- | provisioning/modules/pixelated/manifests/source.pp | 1 | ||||
-rw-r--r-- | service/develop_requirements.txt | 13 | ||||
-rwxr-xr-x | service/go | 4 | ||||
-rw-r--r-- | service/requirements.txt | 10 | ||||
-rw-r--r-- | service/setup.py | 11 |
5 files changed, 13 insertions, 26 deletions
diff --git a/provisioning/modules/pixelated/manifests/source.pp b/provisioning/modules/pixelated/manifests/source.pp index 1490a06a..8dd9a1d0 100644 --- a/provisioning/modules/pixelated/manifests/source.pp +++ b/provisioning/modules/pixelated/manifests/source.pp @@ -3,6 +3,7 @@ class pixelated::source { package { [ 'git', + 'bzr', 'nodejs-legacy', 'python-dev', 'python-virtualenv', diff --git a/service/develop_requirements.txt b/service/develop_requirements.txt index e4c2dce3..1bc64941 100644 --- a/service/develop_requirements.txt +++ b/service/develop_requirements.txt @@ -1,5 +1,12 @@ ---allow-external u1db --allow-unverified u1db ---allow-external dirspec --allow-unverified dirspec +--index-url https://pypi.python.org/simple/ + +-e 'bzr+http://bazaar.launchpad.net/~ubuntuone-control-tower/dirspec/trunk#egg=dirspec' +-e 'bzr+http://bazaar.launchpad.net/~ubuntuone-control-tower/u1db/trunk#egg=u1db' + +pyasn1==0.1.8 +requests==2.0.0 +srp==1.0.4 +whoosh==2.5.7 -e 'git+https://github.com/pixelated-project/leap_pycommon.git@develop#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@develop#egg=leap.soledad.common&subdirectory=common/' @@ -7,4 +14,4 @@ -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' - +-e . @@ -17,11 +17,9 @@ function resolveNumOfCores { function setuppy { echo "Installing Pixelated User Agent." + pip install --upgrade pip setuptools pip install -r develop_requirements.txt pip install -r test_requirements.txt - python setup.py develop $* - pip uninstall -y scrypt; pip install scrypt - pip uninstall -y gnupg; pip install gnupg==2.0.2 echo "Done." } diff --git a/service/requirements.txt b/service/requirements.txt deleted file mode 100644 index e4c2dce3..00000000 --- a/service/requirements.txt +++ /dev/null @@ -1,10 +0,0 @@ ---allow-external u1db --allow-unverified u1db ---allow-external dirspec --allow-unverified dirspec --e 'git+https://github.com/pixelated-project/leap_pycommon.git@develop#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@develop#egg=leap.soledad.common&subdirectory=common/' --e 'git+https://github.com/pixelated-project/soledad.git@develop#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/setup.py b/service/setup.py index ba2be0ec..53a8f715 100644 --- a/service/setup.py +++ b/service/setup.py @@ -47,16 +47,7 @@ setup(name='pixelated-user-agent', 'pixelated.resources', 'pixelated.extensions' ], - install_requires=[ - 'pyasn1==0.1.8', - 'requests==2.0.0', - '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' - ], + install_requires=[], entry_points={ 'console_scripts': [ 'pixelated-user-agent = pixelated.application:initialize', |