From 6ff35df1ae639e7ccb5680e379c0f9251cb4c8cf Mon Sep 17 00:00:00 2001 From: kris Date: Sun, 3 Jul 2022 23:10:43 +0100 Subject: [PATCH] Oops, add build file for lookahead.pyx --- setup.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..8954d93 --- /dev/null +++ b/setup.py @@ -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"} + ) +) \ No newline at end of file