From 6b827fa1035591f6acd8dcaa317cc7bf7505449f Mon Sep 17 00:00:00 2001 From: Paolo Veglio <paolo.veglio@ssec.wisc.edu> Date: Wed, 19 Jun 2024 15:52:23 +0000 Subject: [PATCH] added required imports in pyproject and -fcommon flag in setup.py to avoid errors with gcc>=10 --- pyproject.toml | 1 + setup.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index e2fda32..aca6b02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,7 @@ dependencies = [ 'numpy', 'xarray', 'attrs', + 'rich', 'pre-commit', ] dynamic = ['version'] diff --git a/setup.py b/setup.py index 07d8546..c036f19 100644 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ extensions = [ include_dirs=include_dirs, library_dirs=library_dirs, libraries=["netcdf"], + extra_compile_args=["-fcommon"], ), ] -- GitLab