]> git.mar77i.info Git - hublib/blob - setup_venv.sh
polish structure, update requirements
[hublib] / setup_venv.sh
1 venv_dir="${VIRTUAL_ENV:-venv}"
2 if type deactivate &>/dev/null; then
3 deactivate
4 fi
5 if [[ ! -d "${venv_dir}" ]]; then
6 "${PYTHON:-python}" -m venv "${venv_dir}"
7 fi
8 source "${venv_dir}/bin/activate"
9 pip install -qU pip
10 pip install -qU 'uvicorn[standard]' falcon black pip redis isort \
11 Jinja2 jinja2-simple-tags