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",