2020-04-11 10:25:56 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -o errexit
|
|
|
|
set -o pipefail
|
|
|
|
set -o nounset
|
|
|
|
set -o xtrace
|
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."
|
2020-04-11 10:25:56 +00:00
|
|
|
echo " * You can now activate the $(python3 --version) virtualenv with this command: \`. venv/bin/activate\`"
|