From 85de85034359d49135cff24f902179795287ce35 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sun, 10 Nov 2024 02:59:56 -0800 Subject: [PATCH 1/2] Don't recreate the virtual environment, just delete it --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0b9a2aac0..01cafbe79 100644 --- a/Makefile +++ b/Makefile @@ -30,12 +30,8 @@ clean: ## Clean build directory .PHONY: distclean distclean: ## Clean docs build directory and Python virtual environment, then install requirements + rm -rf venv cd $(DOCS_DIR) && rm -rf $(BUILDDIR)/ - python3 -m venv venv --clear - venv/bin/python -m pip install --upgrade pip - venv/bin/pip install -r requirements.txt - @echo - @echo "Installation of requirements completed." venv/bin/python: ## Set up training: Install requirements python3 -m venv venv From dd1d1bd51f694f20a1f45c7701eadca2c995c6a2 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Sun, 10 Nov 2024 13:35:37 -0800 Subject: [PATCH 2/2] Update Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Katja Süss --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 01cafbe79..7ec44279e 100644 --- a/Makefile +++ b/Makefile @@ -29,7 +29,7 @@ clean: ## Clean build directory cd $(DOCS_DIR) && rm -rf $(BUILDDIR)/* .PHONY: distclean -distclean: ## Clean docs build directory and Python virtual environment, then install requirements +distclean: ## Clean docs build directory and Python virtual environment rm -rf venv cd $(DOCS_DIR) && rm -rf $(BUILDDIR)/