cfg/bin/venv

10 lines
162 B
Text
Raw Normal View History

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