simndt2/src/SimNDT/core/setup_quadtree.py

13 lines
299 B
Python
Raw Normal View History

2024-08-28 21:38:58 +02:00
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import numpy
ext = Extension("quadtree", ["quadtree.pyx"],
include_dirs = [numpy.get_include()])
setup(ext_modules=[ext],
cmdclass = {'build_ext': build_ext})