From 67ac5472cd29c3f2e81213d54963a2832058780b Mon Sep 17 00:00:00 2001 From: Ben Jeffery Date: Thu, 27 Jun 2024 09:52:28 +0100 Subject: [PATCH] Add numpy includes --- python/setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/setup.py b/python/setup.py index 51330bacb9..0f8e77abdb 100644 --- a/python/setup.py +++ b/python/setup.py @@ -1,6 +1,7 @@ import os import platform +import numpy from setuptools import Extension from setuptools import setup @@ -36,7 +37,7 @@ extra_compile_args=["-std=c99"], libraries=libraries, define_macros=defines, - include_dirs=["lwt_interface", libdir, kastore_dir], + include_dirs=["lwt_interface", libdir, kastore_dir, numpy.get_include()], ) setup(