ii-pix/setup.py

14 lines
314 B
Python
Raw Normal View History

from setuptools import setup
2021-01-12 00:27:03 +00:00
from Cython.Build import cythonize
import Cython.Compiler.Options
Cython.Compiler.Options.annotate = True
setup(
2021-03-15 21:41:39 +00:00
ext_modules=cythonize(
["common.pyx", "dither_dhr.pyx", "dither_shr.pyx"],
2021-03-15 21:41:39 +00:00
annotate=True,
2021-03-15 21:42:01 +00:00
compiler_directives={'language_level': "3"}
2021-03-15 21:41:39 +00:00
)
)