Commit 9ac631e9 authored by Jerome Flesch's avatar Jerome Flesch

Makefile: Make it possible to switch the python interpreter used

Signed-off-by: Jerome Flesch's avatarJerome Flesch <jflesch@openpaper.work>
parent 3cf71ae5
VERSION_FILE = src/pyocr/_version.py
PYTHON = python3
build: build_c build_py
......@@ -7,7 +8,7 @@ install: install_py install_c
uninstall: uninstall_py
build_py: ${VERSION_FILE}
python3 ./setup.py build
${PYTHON} ./setup.py build
build_c:
......@@ -45,7 +46,7 @@ else
git push origin ${RELEASE}
make clean
make version
python3 ./setup.py sdist upload
${PYTHON} ./setup.py sdist upload
@echo "All done"
endif
......@@ -57,7 +58,7 @@ clean:
install_py: ${VERSION_FILE}
# PIP_ARGS is used by Flatpak build
python3 ./setup.py install ${PIP_ARGS}
${PYTHON} ./setup.py install ${PIP_ARGS}
install_c:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment