Install setuptools before editable install in Makefile
Cached CI venvs skip dependency resolution on editable installs. Explicitly install setuptools first in both dev and prod targets.
This commit is contained in:
parent
db2d23aabd
commit
2bf586595f
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
|
@ -123,6 +123,8 @@ install: install-core install-dev
|
|||
|
||||
# Install from source (editable mode) for development and testing.
|
||||
install-source-dev-and-test: venv
|
||||
@echo "Ensuring setuptools is installed (required by Pyramid on Python 3.12+)..."
|
||||
$(PIP) install setuptools
|
||||
@echo "Installing make_post_sell from source (editable mode) for development..."
|
||||
$(PIP) install --editable .
|
||||
$(PIP) install --upgrade -r requirements-dev.txt
|
||||
|
|
@ -130,6 +132,8 @@ install-source-dev-and-test: venv
|
|||
|
||||
# Install from source for production (non‑editable).
|
||||
install-source-prod: venv
|
||||
@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 make_post_sell/tests
|
||||
@echo "Installing make_post_sell from source for production (non‑editable)..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue