Skip to content

Instantly share code, notes, and snippets.

@nesh
Created February 28, 2009 12:56
Show Gist options
  • Save nesh/71950 to your computer and use it in GitHub Desktop.
Save nesh/71950 to your computer and use it in GitHub Desktop.
#!/bin/bash
if [ ! -d ./env ]; then
virtualenv --python=python2.5 env
fi
if [ ! -f ./env/bin/pip ]; then
source ./env/bin/activate
./env/bin/easy_install -U docutils
./env/bin/easy_install -U pip
else
source ./env/bin/activate
fi
./env/bin/pip install -E env -r requirements.txt
mkdir -p var/cache
mkdir -p var/db
mkdir -p var/tmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment