Install setuptools directly in CI scripts before make targets

Belt-and-suspenders: ensure setuptools is in the cached venv
before any Make target runs. Shell executor preserves env/
between builds but Python 3.12+ venvs lack setuptools.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
russell@unturf.com 2026-02-08 12:16:01 -05:00
parent a2e574d6b9
commit 37bffe29aa

View file

@ -9,7 +9,10 @@ test:
tags: ["build"]
except:
- tags
script: make test
script:
- make venv
- env/bin/pip install setuptools
- make test
build:
stage: build
@ -17,6 +20,8 @@ build:
except:
- tags
script:
- make venv
- env/bin/pip install setuptools
- make install-source-prod
# Copy static assets to env/static
- cp -pr remarkbox/static env/static