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:
parent
568e8757fe
commit
a2e574d6b9
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -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)..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue