diff --git a/fvid/cythonizer.py b/fvid/cythonizer.py new file mode 100644 index 0000000..a72eedc --- /dev/null +++ b/fvid/cythonizer.py @@ -0,0 +1,6 @@ +#cython: language_level = 3 +from distutils.core import Extension, setup +from Cython.Build import cythonize + +ext = Extension(name="fvid_cython", sources=["fvid_cython.pyx"]) +setup(ext_modules=cythonize(ext, compiler_directives={'language_level': 3, 'infer_types': True}))