Install setuptools in venv creation step for Python 3.12+
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 <noreply@anthropic.com>
This commit is contained in:
parent
8d64fa11e4
commit
ef4d6da410
1 changed files with 2 additions and 0 deletions
2
Makefile
2
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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue