From d0a59b0466ec9a597529ae2a5cd093fe6b987c17 Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Fri, 29 Jul 2016 11:55:40 -0400 Subject: [PATCH] Make sure the correct version of Cython is called from Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 52bf787..bf9fa22 100644 --- a/Makefile +++ b/Makefile @@ -32,14 +32,14 @@ distclean: clean clean-libuv compile: check-env clean echo "DEF DEBUG = 0" > uvloop/__debug.pxi - cython -3 uvloop/loop.pyx; rm uvloop/__debug.* + $(PYTHON) -m cython -3 uvloop/loop.pyx; rm uvloop/__debug.* @echo "$$UVLOOP_BUILD_PATCH_SCRIPT" | $(PYTHON) $(PYTHON) setup.py build_ext --inplace debug: check-env clean echo "DEF DEBUG = 1" > uvloop/__debug.pxi - cython -3 -a -p uvloop/loop.pyx; rm uvloop/__debug.* + $(PYTHON) -m cython -3 -a -p uvloop/loop.pyx; rm uvloop/__debug.* @echo "$$UVLOOP_BUILD_PATCH_SCRIPT" | $(PYTHON) $(PYTHON) setup.py build_ext --inplace