Files
i2p.www/setup_venv.sh
kytv c334777f74 - make script bourne compatible
- check for virtualenv
2013-02-03 00:19:36 +00:00

15 lines
243 B
Bash
Executable File

#!/bin/sh
set -e
. ./project.vars
if [ ! $venv ]; then
echo "ERROR: virtualenv not found!" >&2
else
if [ ! -d $venv_dir ] ; then
$venv --distribute $venv_dir
fi
. $venv_dir/bin/activate
pip install -r reqs.txt
fi