From a3e569a7adadba6988d9b26692baef91e9d7e959 Mon Sep 17 00:00:00 2001 From: Giampaolo Rodola Date: Thu, 7 Jul 2022 23:19:53 +0200 Subject: [PATCH] remove 'import setuptools' from 'make install' as it's unnecessary and slow --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 1234fc6a8..0d1ef9583 100644 --- a/Makefile +++ b/Makefile @@ -83,8 +83,6 @@ build: ## Compile (in parallel) without installing. PYTHONWARNINGS=all $(PYTHON) setup.py build_ext -i $(BUILD_OPTS) install: ## Install this package as current user in "edit" mode. - # make sure setuptools is installed (needed for 'develop' / edit mode) - $(PYTHON) -c "import setuptools" ${MAKE} build PYTHONWARNINGS=all $(PYTHON) setup.py develop $(INSTALL_OPTS) $(PYTHON) -c "import psutil" # make sure it actually worked