#!/usr/bin/env bash function _setup_env() { # build a virtual env if [ -z "${VIRTUAL_ENV}" ]; then python3 -m venv env # shellcheck source=/dev/null source env/bin/activate pip install --upgrade pip fi }