From 749bac18e56fbeb7e37057f1653cc834d165cb82 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Mon, 21 Oct 2024 17:55:42 +0200 Subject: [PATCH] install setuptools before anything --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8885c234..20f7443b 100644 --- a/Makefile +++ b/Makefile @@ -69,13 +69,13 @@ install-pip: ## Install pip (no-op if already installed). install-pydeps-test: ## Install python deps necessary to run unit tests. ${MAKE} install-pip - $(PYTHON) -m pip install $(PIP_INSTALL_ARGS) pip # upgrade pip to latest version + $(PYTHON) -m pip install $(PIP_INSTALL_ARGS) pip setuptools $(PYTHON) -m pip install $(PIP_INSTALL_ARGS) `$(PYTHON) -c "import setup; print(' '.join(setup.TEST_DEPS))"` install-pydeps-dev: ## Install python deps meant for local development. ${MAKE} install-git-hooks ${MAKE} install-pip - $(PYTHON) -m pip install $(PIP_INSTALL_ARGS) pip # upgrade pip to latest version + $(PYTHON) -m pip install $(PIP_INSTALL_ARGS) pip setuptools $(PYTHON) -m pip install $(PIP_INSTALL_ARGS) `$(PYTHON) -c "import setup; print(' '.join(setup.TEST_DEPS + setup.DEV_DEPS))"` # ===================================================================