From 9487d1b5517070e34f8350ac807f47533d530dd6 Mon Sep 17 00:00:00 2001 From: antonio-leblanc Date: Tue, 2 Sep 2025 16:47:04 -0300 Subject: [PATCH 1/2] #103 python bindings --- bindings/python/setup.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/bindings/python/setup.py b/bindings/python/setup.py index a88a3cc..364f357 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -83,8 +83,14 @@ setup( name="pyforefire", - version="2025.1", - install_requires=["pybind11", "setuptools", "wheel"], + version="2025.2", + install_requires=[ + "pybind11", + "setuptools", + "wheel", + "numpy", + "matplotlib", + ], author="Jean-Baptiste Filippi", author_email="filippi_j@univ-corse.fr", description="Python bindings for ForeFire library", From 992e700743a5c26461f7ffc4cb215cde573c77e2 Mon Sep 17 00:00:00 2001 From: antonio-leblanc Date: Tue, 2 Sep 2025 17:05:23 -0300 Subject: [PATCH 2/2] fixing macos actions --- .github/workflows/macos.yml | 4 ++-- install-forefire-osx.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8c9a038..753d304 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -3,9 +3,9 @@ name: macOS on: push: branches: - - dev - brew - + pull_request: + branches: [ "master" ] workflow_dispatch: jobs: diff --git a/install-forefire-osx.sh b/install-forefire-osx.sh index 651dbc5..06db6dd 100644 --- a/install-forefire-osx.sh +++ b/install-forefire-osx.sh @@ -12,9 +12,9 @@ if ! xcode-select -p > /dev/null 2>&1; then fi # Install dependencies via Homebrew. -brew install cmake -brew install netcdf -brew install netcdf-cxx +brew reinstall cmake +brew reinstall netcdf +brew reinstall netcdf-cxx # Set NETCDF_HOME to the prefix for the NetCDF C library. export NETCDF_HOME=$(brew --prefix netcdf)