cfg/bin/venv

11 lines
163 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