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 <>
parent 3cf71ae5
VERSION_FILE = src/pyocr/
PYTHON = python3
build: build_c build_py
......@@ -7,7 +8,7 @@ install: install_py install_c
uninstall: uninstall_py
build_py: ${VERSION_FILE}
python3 ./ build
${PYTHON} ./ build
......@@ -45,7 +46,7 @@ else
git push origin ${RELEASE}
make clean
make version
python3 ./ sdist upload
${PYTHON} ./ sdist upload
@echo "All done"
......@@ -57,7 +58,7 @@ clean:
install_py: ${VERSION_FILE}
# PIP_ARGS is used by Flatpak build
python3 ./ install ${PIP_ARGS}
${PYTHON} ./ install ${PIP_ARGS}
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