Skip to content

Commit

Permalink
Merge pull request #205 from precice/python-bindings-v3.1.1
Browse files Browse the repository at this point in the history
Release v3.1.1
  • Loading branch information
IshaanDesai authored Jul 8, 2024
2 parents 958d0dd + fa66c63 commit aa39fc8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

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

## v3.1.1

* Fix NumPy include order to not conflict with system NumPy and the one installed via pip https://github.com/precice/python-bindings/pull/204

## v3.1.0

* Change versioning scheme https://github.com/precice/python-bindings/pull/199
Expand Down
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 aa39fc8

Please sign in to comment.