[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 <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
vvolkl 2020-11-11 17:53:56 +01:00 committed by GitHub
parent a6011ccbb7
commit 2c55d47c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)