From 0223fe746b29ded9ffc170b8a175d35fb8526de0 Mon Sep 17 00:00:00 2001 From: Sergey Kosukhin Date: Tue, 5 Mar 2024 20:48:18 +0100 Subject: [PATCH] serialbox: fix PYTHONPATH (#43034) --- var/spack/repos/builtin/packages/serialbox/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/serialbox/package.py b/var/spack/repos/builtin/packages/serialbox/package.py index 625b96567f..8ec0fe3b4c 100644 --- a/var/spack/repos/builtin/packages/serialbox/package.py +++ b/var/spack/repos/builtin/packages/serialbox/package.py @@ -156,7 +156,7 @@ def setup_run_environment(self, env): env.prepend_path("PATH", self.prefix.python.pp_ser) # Allow for running the preprocessor as a Python module, as well as # enable the Python interface in a non-standard directory: - env.prepend_path("PYTHONPATH", self.prefix.python) + env.prepend_path("PYTHONPATH", self.prefix.python.pp_ser) def setup_dependent_package(self, module, dependent_spec): # Simplify the location of the preprocessor by dependent packages: