mirror of https://github.com/MagicStack/uvloop.git
Make sure the correct version of Cython is called from Makefile
This commit is contained in:
parent
53203bf3e1
commit
d0a59b0466
4
Makefile
4
Makefile
|
@ -32,14 +32,14 @@ distclean: clean clean-libuv
|
||||||
|
|
||||||
compile: check-env clean
|
compile: check-env clean
|
||||||
echo "DEF DEBUG = 0" > uvloop/__debug.pxi
|
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)
|
@echo "$$UVLOOP_BUILD_PATCH_SCRIPT" | $(PYTHON)
|
||||||
$(PYTHON) setup.py build_ext --inplace
|
$(PYTHON) setup.py build_ext --inplace
|
||||||
|
|
||||||
|
|
||||||
debug: check-env clean
|
debug: check-env clean
|
||||||
echo "DEF DEBUG = 1" > uvloop/__debug.pxi
|
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)
|
@echo "$$UVLOOP_BUILD_PATCH_SCRIPT" | $(PYTHON)
|
||||||
$(PYTHON) setup.py build_ext --inplace
|
$(PYTHON) setup.py build_ext --inplace
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue