Skip to content

Commit d0a59b0

Browse files
committed
Make sure the correct version of Cython is called from Makefile
1 parent 53203bf commit d0a59b0

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
@@ -32,14 +32,14 @@ distclean: clean clean-libuv
3232

3333
compile: check-env clean
3434
echo "DEF DEBUG = 0" > uvloop/__debug.pxi
35-
cython -3 uvloop/loop.pyx; rm uvloop/__debug.*
35+
$(PYTHON) -m cython -3 uvloop/loop.pyx; rm uvloop/__debug.*
3636
@echo "$$UVLOOP_BUILD_PATCH_SCRIPT" | $(PYTHON)
3737
$(PYTHON) setup.py build_ext --inplace
3838

3939

4040
debug: check-env clean
4141
echo "DEF DEBUG = 1" > uvloop/__debug.pxi
42-
cython -3 -a -p uvloop/loop.pyx; rm uvloop/__debug.*
42+
$(PYTHON) -m cython -3 -a -p uvloop/loop.pyx; rm uvloop/__debug.*
4343
@echo "$$UVLOOP_BUILD_PATCH_SCRIPT" | $(PYTHON)
4444
$(PYTHON) setup.py build_ext --inplace
4545

0 commit comments

Comments
 (0)