#!/usr/bin/env bash if test -f .venv/bin/python && test "$(realpath .venv/bin/python)" != "$(realpath "$(pyenv which python)")" then echo "rebuilding venv für new python version" rm -rf .venv fi python3 -m venv .venv source .venv/bin/activate PATH_add .venv/bin PATH_add bin python3 -m pip install --upgrade pip wheel python3 -m pip install --upgrade -r requirements.txt rm -rf .cache/bw/git_deploy export BW_GIT_DEPLOY_CACHE=.cache/bw/git_deploy mkdir -p "$BW_GIT_DEPLOY_CACHE" export EXPERIMENTAL_UPLOAD_VIA_CAT=1 export BW_ITEM_WORKERS=32 export BW_NODE_WORKERS=12 export DISK_CACHE_DIR=.cache/cache_to_disk unset PS1