2021-03-15 15:41:33 +00:00
|
|
|
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(
|
2021-11-26 12:26:46 +00:00
|
|
|
["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
|
|
|
)
|
2021-03-15 15:41:33 +00:00
|
|
|
)
|