Oops, add build file for lookahead.pyx

This commit is contained in:
kris 2022-07-03 23:10:43 +01:00
parent 233e94d94f
commit 6ff35df1ae
1 changed files with 13 additions and 0 deletions

13
setup.py Normal file
View File

@ -0,0 +1,13 @@
from setuptools import setup
from Cython.Build import cythonize
import Cython.Compiler.Options
Cython.Compiler.Options.annotate = True
setup(
ext_modules=cythonize(
["lookahead.pyx"],
annotate=True,
compiler_directives={'language_level': "3"}
)
)