Skip to content

Commit

Permalink
now using virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmed Soliman committed Sep 21, 2011
1 parent aa2e91a commit eeeabb0
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 2 deletions.
1 change: 1 addition & 0 deletions .hgignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ syntax: glob
.DS_Store*
**.coverage
distribute-*
test/nosetests*

syntax: regexp
^MANIFEST$
11 changes: 11 additions & 0 deletions init_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

#assuming the machine has virtualenv and pip installed

virtualenv --no-site-packages environment

export PYTHONPATH=

pip install -E environment yolk nose

pip install -E environment -r requirements.pip
10 changes: 10 additions & 0 deletions requirements.pip
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
mako >= 0.3.6
mongoengine == 0.5
routes >= 1.12.3
simplejson >= 2.1.2
celery >= 2.3.1
WebOb >= 1.0.8
Beaker >= 1.5.4
python-memcached >= 1.47
httplib2
psutil >= 0.3.0
1 change: 0 additions & 1 deletion setenv.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash
#source ../3rdparty/build/vars.sh
export PYTHONPATH=$PYTHONPATH:`pwd`
export PATH=$PATH:`pwd`/bin
1 change: 1 addition & 0 deletions test/hudson.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
source ../environment/bin/activate
source ../setenv.sh
nosetests --with-xunit
exit 0
1 change: 0 additions & 1 deletion test/nosetests.xml

This file was deleted.

0 comments on commit eeeabb0

Please sign in to comment.