#!/usr/bin/env python

from setuptools import Extension, setup
from Cython.Build import cythonize
import numpy

sourcefiles = [ 'SuchTree/SuchTree.pyx' ]

extensions = [ Extension( 'SuchTree', sourcefiles ) ]

extensions = cythonize( extensions, language_level = "3",
                        include_path = [ numpy.get_include() ] )

setup(
    ext_modules = cythonize( 'SuchTree/SuchTree.pyx' )
)

#!/usr/bin/env python

from setuptools import Extension, setup
from Cython.Build import cythonize
import numpy

sourcefiles = [ 'SuchTree/SuchTree.pyx' ]

extensions = [ Extension( 'SuchTree', sourcefiles, include_dirs=[numpy.get_include()]) ]

extensions = cythonize( extensions, language_level = "3" )

setup(
    ext_modules = extensions
)

Rework Cython to avoid duplicated build, include numpy headers
Rework Cython to avoid duplicated build, include numpy headers
