Adds support scripts for installing deps into a virtualenv.

This commit is contained in:
andy 2010-07-26 21:57:32 +00:00 committed by Tarmac
commit 1665c20508
2 changed files with 41 additions and 0 deletions

27
Makefile Normal file

@ -0,0 +1,27 @@
venv=.venv
with_venv=source $(venv)/bin/activate
installed=$(venv)/lib/python2.6/site-packages
twisted=$(installed)/twisted/__init__.py
test: python-dependencies $(twisted)
$(with_venv) && python run_tests.py
clean:
rm -rf _trial_temp
rm -rf keys
rm -rf instances
rm -rf networks
clean-all: clean
rm -rf $(venv)
python-dependencies: $(venv)
pip install -q -E $(venv) -r tools/pip-requires
$(venv):
pip install -q virtualenv
virtualenv -q --no-site-packages $(venv)
$(twisted):
pip install -q -E $(venv) http://nova.openstack.org/Twisted-10.0.0Nova.tar.gz

14
tools/pip-requires Normal file

@ -0,0 +1,14 @@
IPy==0.70
M2Crypto==0.20.2
amqplib==0.6.1
anyjson==0.2.4
boto==2.0b1
carrot==0.10.5
lockfile==0.8
mox==0.5.0
python-daemon==1.5.5
python-gflags==1.3
redis==2.0.0
tornado==1.0
wsgiref==0.1.2
zope.interface==3.6.1