Add minimal venv in Makefile

This commit is contained in:
nicolargo 2023-05-17 11:35:46 +02:00
parent 753623ec31
commit 6f4da273c0

View File

@ -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
# ===================================================================