Skip to content
Python

build_dmg: document the venv prereqs a fresh worktree needs

Rohit C Prasad3a81c49ede00
diff --git a/packaging/build_dmg.sh b/packaging/build_dmg.sh
index 5ee9c975..724ce3e8 100755
--- a/packaging/build_dmg.sh
+++ b/packaging/build_dmg.sh
@@ -35,6 +35,10 @@
# Experimental (use-at-your-own-risk) connectors are EXCLUDED from this build by default —
# the spec strips coworker.connectors.experimental. Self-builders can opt in with:
# COWORKER_EXPERIMENTAL=1 ./build_dmg.sh
+# VENV PREREQS (a fresh worktree's venv, discovered the hard way 2026-08-21):
+# .venv/bin/pip install -e ".[dev,messaging,browser,bedrock]" pyinstaller typer
+# (`typer` because PyInstaller's submodule collection imports mcp.cli, which
+# sys.exit(1)s without it.)
set -euo pipefail
HERE="$(cd "$(dirname "$0")" && pwd)"