Make sure the correct version of Cython is called from Makefile

This commit is contained in:
Elvis Pranskevichus 2016-07-29 11:55:40 -04:00
parent 53203bf3e1
commit d0a59b0466
1 changed files with 2 additions and 2 deletions

View File

@ -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