create-env.bash 199 B

1234567891011
  1. #!/usr/bin/env bash
  2. set -Eeuxo pipefail
  3. DIR=$(dirname "$(readlink -f "${0}")")
  4. python3 -m venv "${DIR}/venv"
  5. source "${DIR}/venv/bin/activate"
  6. pip install --requirement "${DIR}/requirements.txt"