From 2c55d47c1ed9c78eb53bc1ba459a2e88b821105c Mon Sep 17 00:00:00 2001 From: vvolkl Date: Wed, 11 Nov 2020 17:53:56 +0100 Subject: [PATCH] [podio] set pythonpath correctly (#19779) * [podio] put python dir in python path * Update var/spack/repos/builtin/packages/podio/package.py Co-authored-by: Adam J. Stewart Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/podio/package.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/var/spack/repos/builtin/packages/podio/package.py b/var/spack/repos/builtin/packages/podio/package.py index 945ba345f3..adf601306d 100644 --- a/var/spack/repos/builtin/packages/podio/package.py +++ b/var/spack/repos/builtin/packages/podio/package.py @@ -55,3 +55,6 @@ def url_for_version(self, version): else: url = "https://github.com/AIDASoft/podio/archive/v%s-%s-%s.tar.gz" % (major, minor, patch) return url + + def setup_run_environment(self, env): + env.prepend_path('PYTHONPATH', self.prefix.python)