From 5d5a7f59d6490a5deac3a911530f0974c870cdac Mon Sep 17 00:00:00 2001 From: sbosse Date: Fri, 29 Nov 2024 16:33:05 +0100 Subject: [PATCH] Fri 29 Nov 2024 04:30:50 PM CET --- src/SimNDT/engine/setup_efit.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/SimNDT/engine/setup_efit.py diff --git a/src/SimNDT/engine/setup_efit.py b/src/SimNDT/engine/setup_efit.py new file mode 100644 index 0000000..abb1edc --- /dev/null +++ b/src/SimNDT/engine/setup_efit.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("efit2dcython", ["EFIT2Dcython.pyx"], + include_dirs = [numpy.get_include()]) + +setup(ext_modules=[ext], + cmdclass = {'build_ext': build_ext}) +