Source

memocurial / quickinstall

#!/bin/bash
# create a virtual environment in directory $VIRTUAL_ENV_DIR/
# needs: virtualenv, pip

VIRTUAL_ENV_DIR=.
PYTHON=python
DOWNLOAD_CACHE=download-cache

# setup virtualenv
virtualenv --distribute --no-site-packages --python $PYTHON $VIRTUAL_ENV_DIR
source $VIRTUAL_ENV_DIR/bin/activate

# setup buildout
python bootstrap.py --distribute
bin/buildout