summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortehyayi11 <89051494+tehyayi11@users.noreply.github.com>2021-08-18 17:11:46 -0700
committerGitHub <noreply@github.com>2021-08-19 00:11:46 +0000
commitc865aaaa0fbfe7b443d76bd8fed6b991068ddf06 (patch)
treec29bf36e5d122c0dc930cfbf9f625fa10915b57a
parent4318ceb2b3c5d34217769a24a7de039b1759b496 (diff)
downloadspack-c865aaaa0fbfe7b443d76bd8fed6b991068ddf06.tar.gz
spack-c865aaaa0fbfe7b443d76bd8fed6b991068ddf06.tar.bz2
spack-c865aaaa0fbfe7b443d76bd8fed6b991068ddf06.tar.xz
spack-c865aaaa0fbfe7b443d76bd8fed6b991068ddf06.zip
seacas: add lib directory to pythonpath in run environment (#25453)
-rw-r--r--var/spack/repos/builtin/packages/seacas/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/seacas/package.py b/var/spack/repos/builtin/packages/seacas/package.py
index 1fa8fb193d..d1959d6119 100644
--- a/var/spack/repos/builtin/packages/seacas/package.py
+++ b/var/spack/repos/builtin/packages/seacas/package.py
@@ -98,6 +98,9 @@ class Seacas(CMakePackage):
depends_on('cmake@3.1:', type='build')
+ def setup_run_environment(self, env):
+ env.prepend_path('PYTHONPATH', self.prefix.lib)
+
def cmake_args(self):
spec = self.spec
from_variant = self.define_from_variant