Skip to content

Commit 52e75d9

Browse files
committed
bugfix: Include numpy.get_include() in setup
bugfix: Include numpy.get_include() in setup
1 parent 965a7f9 commit 52e75d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
import setuptools
66
from setuptools import find_packages
77
from skbuild import setup
8+
# colton_mod_start
9+
import numpy
10+
# colton_mod_end
11+
812

913
old_setup = setuptools.setup
1014

@@ -71,4 +75,7 @@ def wrapped_setup(*args, **kwargs):
7175
extras_require={"dev": tests_require},
7276
cmake_args=cmake_args,
7377
cmake_languages=("CXX", "Fortran"),
78+
# colton_mod_start
79+
include_dirs=[numpy.get_include()]
80+
# colton_mod_end
7481
)

0 commit comments

Comments
 (0)