diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-11-19 14:10:37 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-11-19 14:10:37 +0100 |
commit | 9874fd3faf518e163bfbd1fd7fbf0087f3e89d3a (patch) | |
tree | b31e690d45c0d171f648c6b58d1c027c5a53e5e5 | |
parent | 659b310eed9e665d0f13d18d078848cae5acd2f6 (diff) | |
download | poezio-9874fd3faf518e163bfbd1fd7fbf0087f3e89d3a.tar.gz poezio-9874fd3faf518e163bfbd1fd7fbf0087f3e89d3a.tar.bz2 poezio-9874fd3faf518e163bfbd1fd7fbf0087f3e89d3a.tar.xz poezio-9874fd3faf518e163bfbd1fd7fbf0087f3e89d3a.zip |
setup.py: Use $PYTHON instead of hardcoding python3.
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |