mirror of
https://github.com/KrisKennaway/ii-pix.git
synced 2024-10-01 09:55:27 +00:00
16 lines
366 B
Python
16 lines
366 B
Python
from setuptools import setup, Extension
|
|
from Cython.Build import cythonize
|
|
import numpy
|
|
|
|
import Cython.Compiler.Options
|
|
Cython.Compiler.Options.annotate = True
|
|
|
|
extensions = [
|
|
Extension("dither", ["dither.pyx"], include_dirs=[numpy.get_include()])
|
|
]
|
|
|
|
setup(
|
|
name='dither',
|
|
ext_modules=cythonize(extensions),
|
|
script_args = ["build_ext", "--inplace"]
|
|
) |