From af999c10d81ac2f8bd09b0c9844c17740af90218 Mon Sep 17 00:00:00 2001 From: sbosse Date: Fri, 29 Nov 2024 16:30:55 +0100 Subject: [PATCH] Fri 29 Nov 2024 04:30:50 PM CET --- src/SimNDT/core/setup_quadtree.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/SimNDT/core/setup_quadtree.py diff --git a/src/SimNDT/core/setup_quadtree.py b/src/SimNDT/core/setup_quadtree.py new file mode 100644 index 0000000..ffe20e3 --- /dev/null +++ b/src/SimNDT/core/setup_quadtree.py @@ -0,0 +1,12 @@ +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}) +