#!/bin/bash # Launcher for Artisan coffee roasting scope ARTISAN_HOME="/usr/lib/artisan" VENV="${ARTISAN_HOME}/.venv" # Activate the venv export PATH="${VENV}/bin:${PATH}" export VIRTUAL_ENV="${VENV}" # Set working directory to src so relative imports work cd "${ARTISAN_HOME}/src" || exit 1 exec python3 artisan.py "$@"