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 <sjoerd@collabora.com>
This commit is contained in:
Sjoerd Simons
2022-06-18 21:23:40 +02:00
committed by Benj Fassbind
parent 29deae6fe0
commit a687df2f4f

View File

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