Install setuptools before editable install, not just in venv target

The venv target is a no-op on cached CI runners where env/bin/activate
already exists. Move setuptools install into install-source-dev-and-test
and install-source-prod so it runs every time, regardless of venv cache.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
russell@unturf.com 2026-02-08 12:11:09 -05:00
parent 568e8757fe
commit a2e574d6b9

View file

@ -65,12 +65,16 @@ install: install-core install-dev install-themes
# Install remarkbox from source (editable mode) plus dev, test, and themes
install-source-dev-and-test: venv install-themes
@echo "Ensuring setuptools is installed (required by Pyramid on Python 3.12+)..."
$(PIP) install setuptools
@echo "Installing remarkbox from source (editable mode)..."
$(PIP) install --editable .
$(PIP) install --upgrade -r requirements-dev.txt
$(PIP) install --upgrade -r requirements-test.txt
install-source-prod: venv install-themes
@echo "Ensuring setuptools is installed (required by Pyramid on Python 3.12+)..."
$(PIP) install setuptools
@echo "Deleting tests from source code for production..."
rm -rf remarkbox/tests
@echo "Installing remarkbox from source (in non-editable mode)..."