From a687df2f4f44a87670570ecc9a7fe137f1bac270 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Sat, 18 Jun 2022 21:23:40 +0200 Subject: [PATCH] Use python3 for system tests Most modern distribution use python3 for python (3). Default to that to make it a bit simpler to run systems tests on Debian Signed-off-by: Sjoerd Simons --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d0ff994..1acb5035 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ else endif VERSION=$(shell echo $(TAG) | sed 's@^v@@' | sed 's@-@+@g') PACKAGES=context database deb files gpg http query swift s3 utils -PYTHON?=python +PYTHON?=python3 TESTS?= BINPATH?=$(GOPATH)/bin RUN_LONG_TESTS?=yes @@ -36,7 +36,7 @@ install: system/env: system/requirements.txt ifeq ($(RUN_LONG_TESTS), yes) rm -rf system/env - python -m venv system/env + $(PYTHON) -m venv system/env system/env/bin/pip install -r system/requirements.txt endif