cfg/bin/venv
Knut Ahlers 3af386d881
Allow creation of python3 venv
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2017-10-13 16:56:27 +02:00

10 lines
163 B
Bash
Executable file

#!/bin/bash
set -ex
set -o pipefail
[ -e .venv ] || virtualenv "$@" .venv
source .venv/bin/activate
[ -f requirements.txt ] && pip install -r requirements.txt