From 9874fd3faf518e163bfbd1fd7fbf0087f3e89d3a Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sun, 19 Nov 2017 14:10:37 +0100 Subject: setup.py: Use $PYTHON instead of hardcoding python3. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6b901279..5745b57e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ TMPDIR=/tmp/ +PYTHON ?= python3 + all: Makefile - python3 setup.py build_ext --inplace + $(PYTHON) setup.py build_ext --inplace clean: find ./ -name \*.pyc -delete @@ -16,7 +18,7 @@ clean: rm -f poezio/*.so install: all - python3 setup.py install --root=$(DESTDIR) --optimize=1 + $(PYTHON) setup.py install --root=$(DESTDIR) --optimize=1 doc: make -C doc/ html -- cgit v1.2.3