2015-06-24 01:50:51 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
2016-02-15 14:43:59 +00:00
|
|
|
VENV=./venv
|
2015-03-12 11:12:15 +00:00
|
|
|
|
2015-09-19 09:18:57 +00:00
|
|
|
python -m virtualenv $VENV --always-copy
|
2015-08-19 13:10:15 +00:00
|
|
|
. $VENV/bin/activate
|
2016-02-24 07:29:24 +00:00
|
|
|
pip install -U pip setuptools
|
2016-02-15 17:12:12 +00:00
|
|
|
pip install -r requirements.txt
|
2015-03-14 02:08:34 +00:00
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo "* Created virtualenv environment in $VENV."
|
|
|
|
echo "* Installed all dependencies into the virtualenv."
|
2015-09-19 09:18:57 +00:00
|
|
|
echo "* You can now activate the virtualenv: \`. $VENV/bin/activate\`"
|