2016-05-25 17:42:22 +00:00
|
|
|
#!/bin/sh
|
2015-06-24 01:50:51 +00:00
|
|
|
set -e
|
2016-06-03 01:42:15 +00:00
|
|
|
set -x
|
2016-05-25 17:42:22 +00:00
|
|
|
|
2017-01-29 23:38:40 +00:00
|
|
|
echo "Creating dev environment in ./venv..."
|
2015-03-12 11:12:15 +00:00
|
|
|
|
2017-01-29 23:38:40 +00:00
|
|
|
python3 -m venv venv
|
|
|
|
. venv/bin/activate
|
|
|
|
pip3 install -U pip setuptools
|
|
|
|
pip3 install -r requirements.txt
|
2015-03-14 02:08:34 +00:00
|
|
|
|
|
|
|
echo ""
|
2017-01-29 23:38:40 +00:00
|
|
|
echo " * Created virtualenv environment in ./venv."
|
|
|
|
echo " * Installed all dependencies into the virtualenv."
|
|
|
|
echo " * You can now activate the $(python3 --version) virtualenv with this command: \`. venv/bin/activate\`"
|