From 782fd32087a30c42a8074da3574b5a9413023fe2 Mon Sep 17 00:00:00 2001 From: Thomas Druez Date: Wed, 18 Nov 2020 10:52:58 +0400 Subject: [PATCH] Add the ability to specified the PYTHON_EXE in Makefile #54 Signed-off-by: Thomas Druez --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6f904def5..334b82913 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,8 @@ # ScanCode.io is a free software code scanning tool from nexB Inc. and others. # Visit https://github.com/nexB/scancode.io for support and download. -PYTHON_EXE=python3 +# Python version can be specified with `$ PYTHON_EXE=python3.x make conf` +PYTHON_EXE?=python3 MANAGE=bin/python manage.py ACTIVATE=. bin/activate; ANSIBLE_PLAYBOOK=cd etc/ansible/ && ansible-playbook --inventory-file=hosts --verbose --ask-become-pass --user=${USER}