Skip to content

Commit aa39fc8

Browse files
authored
Merge pull request #205 from precice/python-bindings-v3.1.1
Release v3.1.1
2 parents 958d0dd + fa66c63 commit aa39fc8

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## v3.1.1
6+
7+
* Fix NumPy include order to not conflict with system NumPy and the one installed via pip https://github.com/precice/python-bindings/pull/204
8+
59
## v3.1.0
610

711
* Change versioning scheme https://github.com/precice/python-bindings/pull/199

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def get_extensions(is_test):
6565
compile_args = []
6666
link_args = []
6767
compile_args.append("-std=c++17")
68-
compile_args.append("-I{}".format(numpy.get_include()))
68+
include_dirs = [numpy.get_include()]
6969

7070
bindings_sources = [os.path.join(PYTHON_BINDINGS_PATH, "cyprecice",
7171
"cyprecice" + ".pyx")]
@@ -84,6 +84,7 @@ def get_extensions(is_test):
8484
sources=bindings_sources,
8585
libraries=[],
8686
language="c++",
87+
include_dirs=include_dirs,
8788
extra_compile_args=compile_args,
8889
extra_link_args=link_args
8990
)

0 commit comments

Comments
 (0)