Files
i2p.newsxml/setup_venv.sh

16 lines
262 B
Bash
Raw Normal View History

2015-06-07 02:51:38 +00:00
#!/bin/sh
set -e
. ./etc/project.vars
if [ ! $venv ]; then
echo "ERROR: virtualenv not found!" >&2
exit 1
else
if [ ! -d $venv_dir ] ; then
$venv --distribute $venv_dir
fi
. $venv_dir/bin/activate
pip install -r etc/reqs.txt
fi