Skip to content

Commit

Permalink
Fixes the numpy include order (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsimonis authored Jul 4, 2024
1 parent 461a6fa commit 97db465
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get_extensions(is_test):
compile_args = []
link_args = []
compile_args.append("-std=c++17")
compile_args.append("-I{}".format(numpy.get_include()))
include_dirs = [numpy.get_include()]

bindings_sources = [os.path.join(PYTHON_BINDINGS_PATH, "cyprecice",
"cyprecice" + ".pyx")]
Expand All @@ -84,6 +84,7 @@ def get_extensions(is_test):
sources=bindings_sources,
libraries=[],
language="c++",
include_dirs=include_dirs,
extra_compile_args=compile_args,
extra_link_args=link_args
)
Expand Down

0 comments on commit 97db465

Please sign in to comment.