From 2e29201e843f0d797702648a91e89e427179d738 Mon Sep 17 00:00:00 2001 From: sbosse Date: Wed, 28 Aug 2024 21:38:58 +0200 Subject: [PATCH] Wed 28 Aug 21:38:52 CEST 2024 --- 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}) +