Fix warning

This commit is contained in:
kris 2021-03-15 21:41:39 +00:00
parent 7a7923503f
commit 99242d455f
1 changed files with 5 additions and 1 deletions

View File

@ -5,5 +5,9 @@ import Cython.Compiler.Options
Cython.Compiler.Options.annotate = True
setup(
ext_modules=cythonize(["dither.pyx"], annotate=True)
ext_modules=cythonize(
["dither.pyx"],
annotate=True,
compiler_directives={'language_level' : "3"}
)
)