From ff853e93121b8a01b2dd12b9ddd02eefd073665a Mon Sep 17 00:00:00 2001 From: Tarek Ziade Date: Thu, 3 Sep 2026 09:11:38 +0200 Subject: [PATCH] tweak the python so it works in all envs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4894ebe..8bc8d34 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ VENV_PYTHON = $(VENV_DIR)/Scripts/python.exe VENV_PIP = $(VENV_DIR)/Scripts/pip.exe VENV_ACTIVATE = $(VENV_DIR)/Scripts/activate else -PYTHON ?= python3 +PYTHON ?= $(shell command -v python3.11 2>/dev/null || command -v python3.10 2>/dev/null || command -v python3) VENV_PYTHON = $(VENV_DIR)/bin/python VENV_PIP = $(VENV_DIR)/bin/pip VENV_ACTIVATE = $(VENV_DIR)/bin/activate