Skip to content

Commit

Permalink
specify language_level for cython
Browse files Browse the repository at this point in the history
  • Loading branch information
shuffle2 authored and prusnak committed Oct 17, 2023
1 parent 5cc527e commit 1043fff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/python
from setuptools import setup, Extension
from Cython.Build import cythonize
import os
import sys
import subprocess
Expand Down Expand Up @@ -135,7 +136,7 @@ def find_version():
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
ext_modules=modules,
ext_modules=cythonize(modules, language_level=3),
setup_requires=["Cython<3"],
install_requires=["setuptools>=19.0"],
)

0 comments on commit 1043fff

Please sign in to comment.