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