qtile/dev.sh

17 lines
453 B
Bash
Executable File

#!/bin/sh
set -e
set -x
echo "Creating dev environment in ./venv..."
python3.7 -m venv venv
. venv/bin/activate
pip3.7 install -U pip setuptools
pip3.7 install -r requirements.txt
pip3.7 install -r requirements-dev.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\`"