File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,16 @@ check-env:
21
21
22
22
compile : check-env clean
23
23
echo " DEF DEBUG = 0" > asyncpg/protocol/__debug.pxi
24
- cython asyncpg/protocol/protocol.pyx; rm asyncpg/protocol/__debug.pxi
24
+ $(PYTHON ) -m cython asyncpg/protocol/protocol.pyx
25
+ rm asyncpg/protocol/__debug.pxi
25
26
@echo " $$ CYTHON_BUILD_PATCH_SCRIPT" | $(PYTHON )
26
27
$(PYTHON ) setup.py build_ext --inplace
27
28
28
29
29
30
debug : check-env clean
30
31
echo " DEF DEBUG = 1" > asyncpg/protocol/__debug.pxi
31
- cython -a -X linetrace=True asyncpg/protocol/protocol.pyx; rm asyncpg/protocol/__debug.pxi
32
+ $(PYTHON ) -m cython -a -X linetrace=True asyncpg/protocol/protocol.pyx
33
+ rm asyncpg/protocol/__debug.pxi
32
34
@echo " $$ CYTHON_BUILD_PATCH_SCRIPT" | $(PYTHON )
33
35
CFLAGS=" ${CFLAGS} -DCYTHON_TRACE=1 -DCYTHON_TRACE_NOGIL=1" \
34
36
$(PYTHON ) setup.py build_ext --inplace --debug
You can’t perform that action at this time.
0 commit comments