aboutsummaryrefslogtreecommitdiffstats
path: root/dev.sh
blob: a90b48ab30bcd329c8e7ff4fbaf9fcce28c8959d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
set -e
set -x

echo "Creating dev environment in ./venv..."

python3 -m venv venv
. venv/bin/activate
pip3 install -U pip setuptools
pip3 install -r requirements.txt

echo ""
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\`"