We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 661639c commit c9e1ac0Copy full SHA for c9e1ac0
source-code/cython/HelloWorld/Makefile
@@ -1,4 +1,4 @@
1
-VERSION = cpython-34m
+VERSION = cpython-311-x86_64-linux-gnu
2
HELLO_WORLD_LIB = hello_world.$(VERSION).so
3
4
all: $(HELLO_WORLD_LIB)
@@ -8,4 +8,5 @@ $(HELLO_WORLD_LIB): hello_world.pyx
8
9
clean:
10
python setup.py clean
11
- rm -f hello_world.c $(HELLO_WORLD_LIB)
+ $(RM) $(HELLO_WORLD_LIB) hello_world.c
12
+ $(RM) -r build
source-code/cython/HelloWorld/setup.py
@@ -4,5 +4,5 @@
from Cython.Build import cythonize
5
6
setup(
7
- ext_modules=cythonize("hello_world.pyx")
+ ext_modules=cythonize("hello_world.pyx", compiler_directives={'language_level' : "3"})
)
0 commit comments