From e9ca554b7c77018f18e1eba1761c4a1ce628611e Mon Sep 17 00:00:00 2001 From: Iain Russell Date: Fri, 19 Apr 2024 15:41:34 +0100 Subject: [PATCH] ECC-1793: develop binary wheel - change env var to ECCODES_PYTHON_USE_INSTALLED_BINARIES --- gribapi/bindings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gribapi/bindings.py b/gribapi/bindings.py index 9da6e1d..a131571 100644 --- a/gribapi/bindings.py +++ b/gribapi/bindings.py @@ -46,9 +46,9 @@ def find_binary_libs(name): name = _lookup(name) - if int(os.environ.get("PYTHON_ECCODES_USE_INSTALLED_BINARIES", "0")): + if int(os.environ.get("ECCODES_PYTHON_USE_INSTALLED_BINARIES", "0")): logging.debug( - f"{name} lib search: PYTHON_ECCODES_USE_INSTALLED_BINARIES set, so using findlibs" + f"{name} lib search: ECCODES_PYTHON_USE_INSTALLED_BINARIES set, so using findlibs" ) import findlibs