Skip to content

Commit d75678c

Browse files
committed
Build: Make Makefile use python3 instead of whatever "python" is.
1 parent df1fc47 commit d75678c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
PYTHON?=python
1+
PYTHON?=python3
22
VERSION?=$(shell sed -ne "s|^__version__\s*=\s*'\([^']*\)'.*|\1|p" src/quicktions.pyx)
33
PACKAGE=quicktions
4-
WITH_CYTHON := $(shell python -c 'from Cython.Build import cythonize' 2>/dev/null && echo "--with-cython")
4+
WITH_CYTHON := $(shell $(PYTHON) -c 'from Cython.Build import cythonize' 2>/dev/null && echo "--with-cython")
55
PYTHON_WHEEL_BUILD_VERSION := "cp*"
66

77
MANYLINUX_IMAGES= \

0 commit comments

Comments
 (0)