From 6f4da273c0da5dc57972cd30ff7c30077c9ae7b2 Mon Sep 17 00:00:00 2001 From: nicolargo Date: Wed, 17 May 2023 11:35:46 +0200 Subject: [PATCH] Add minimal venv in Makefile --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 090e12f7..f41f1007 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,17 @@ venv-upgrade: ## Upgrade Python 3 run-time dependencies ./venv/bin/pip install --upgrade -r requirements.txt ./venv/bin/pip install --upgrade -r optional-requirements.txt +# For minimal installation (without optional dependencies) + +venv-min-python: ## Install Python 3 venv + virtualenv -p /usr/bin/python3 venv-min + +venv-min: venv-min-python ## Install Python 3 run-time dependencies + ./venv/bin/pip install -r requirements.txt + +venv-min-upgrade: ## Upgrade Python 3 run-time dependencies + ./venv/bin/pip install --upgrade -r requirements.txt + # =================================================================== # Tests # ===================================================================