From ef4d6da4105f79f35267b8b2819219f0813433e2 Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Sun, 8 Feb 2026 12:03:44 -0500 Subject: [PATCH] Install setuptools in venv creation step for Python 3.12+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The requirements.py3.txt change alone wasn't enough — pip treats setuptools specially during editable installs and may not install it as a runtime dependency. Installing it immediately after venv creation ensures pkg_resources is available for Pyramid and theme loading. Co-Authored-By: Claude Opus 4.6 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index bd6a875..a8410b0 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,8 @@ all: install-from-pypi serve $(VENV_DIR)/bin/activate: @echo "Creating virtual environment in $(VENV_DIR)..." python3 -m venv $(VENV_DIR) + @echo "Installing setuptools (required by Pyramid, not bundled in Python 3.12+ venvs)..." + $(PIP) install setuptools venv: $(VENV_DIR)/bin/activate