Browse files

Switch to new version of bootstrapping test application.

  • Loading branch information...
1 parent 410d158 commit f9fe856965c812552d037ad43886e199b46ea86b @playpauseandstop committed Aug 10, 2012
Showing with 6 additions and 11 deletions.
  1. +6 −11 testapp/Makefile
  2. 0 testapp/{requirements-1.4.1.txt → requirements.txt}
View
17 testapp/Makefile
@@ -2,33 +2,28 @@
env = env
env14 = $(env)-1.4
-env141 = $(env)-1.4.1
project = .
+python = PYTHONPATH=.:.. $(env)/bin/python
python14 = PYTHONPATH=.:.. $(env14)/bin/python
-python141 = PYTHONPATH=.:.. $(env141)/bin/python
HOST ?= 0.0.0.0
PORT ?= 4354
bootstrap:
- virtualenv --distribute $(env14)
- $(env14)/bin/pip install -r requirements-1.4.txt
-
- virtualenv --distribute $(env141)
- $(env141)/bin/pip install -r requirements-1.4.1.txt
+ bootstrap.py --copy-virtualenv
clean:
find . -name '*.pyc' -delete
distclean: clean
- rm -rf build dist $(env) $(env14) $(env141)
+ rm -rf build dist $(env) $(env14)
server:
- $(python141) $(project)/app.py $(HOST):$(PORT)
+ $(python) $(project)/app.py $(HOST):$(PORT)
shell:
- PYTHONPATH=.. $(env141)/bin/ipython
+ PYTHONPATH=.:.. $(env)/bin/ipython --color-info --no-banner --pprint
test:
+ $(python) $(project)/tests.py
$(python14) $(project)/tests.py
- $(python141) $(project)/tests.py
View
0 testapp/requirements-1.4.1.txt → testapp/requirements.txt
File renamed without changes.

0 comments on commit f9fe856

Please sign in to comment.