# mise: the single committed source of truth for this project's toolchain. # mise install – install the pinned tools below # mise run deps – install python deps (Pillow) into .venv # make png / make count – build/measure the cart (tools resolve via mise) # # Why a venv for Python: Pillow is a *library*, not a CLI tool, so it can't be a # [tools] entry. shrinko8 (vendored in tools/shrinko8) needs Pillow to write the # .p8.png. The auto-venv below also sidesteps PEP 668 / EXTERNALLY-MANAGED, so no # `--break-system-packages` and nothing global is touched. [tools] node = "22.22.0" pnpm = "11.2.2" python = "3.13" uv = "0.11" [env] # auto-create AND auto-activate .venv (built by uv; --seed gives it pip) _.python.venv = { path = ".venv", create = true, uv_create_args = ["--seed"] } [tasks.deps] description = "Install python deps (Pillow -> shrinko8 png export) into .venv" run = "uv pip install -r requirements.txt"