From b75abc706ba4537dd4bbf14597b66cdcffd21111 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Wed, 15 May 2024 09:06:04 +0200 Subject: [PATCH] .. --- python/sdist/amici/setup.template.py | 5 ++++- python/sdist/setup.py | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python/sdist/amici/setup.template.py b/python/sdist/amici/setup.template.py index c2ce7d5c20..411d398aec 100644 --- a/python/sdist/amici/setup.template.py +++ b/python/sdist/amici/setup.template.py @@ -24,7 +24,10 @@ def get_extension() -> CMakeExtension: else: os.environ["CMAKE_BUILD_PARALLEL_LEVEL"] = "1" - debug_build = os.getenv("AMICI_DEBUG", "").lower() in ["1", "true"] + debug_build = os.getenv("ENABLE_AMICI_DEBUGGING", "").lower() in [ + "1", + "true", + ] return CMakeExtension( name="model_ext", diff --git a/python/sdist/setup.py b/python/sdist/setup.py index a29861ac75..5c121da9cc 100755 --- a/python/sdist/setup.py +++ b/python/sdist/setup.py @@ -141,7 +141,10 @@ def get_extensions(): ], ) # AMICI - debug_build = os.getenv("AMICI_DEBUG", "").lower() in ["1", "true"] + debug_build = os.getenv("ENABLE_AMICI_DEBUGGING", "").lower() in [ + "1", + "true", + ] amici_ext = CMakeExtension( name="amici", install_prefix="amici",