diff --git a/var/spack/repos/builtin/packages/lcio/package.py b/var/spack/repos/builtin/packages/lcio/package.py index 4319774b15..66a0c66bf5 100644 --- a/var/spack/repos/builtin/packages/lcio/package.py +++ b/var/spack/repos/builtin/packages/lcio/package.py @@ -72,3 +72,7 @@ def url_for_version(self, version): print('Error - Wrong version format provided') return return url + + def setup_run_environment(self, env): + env.set('LCIO', self.prefix) + env.prepend_path('PYTHONPATH', self.prefix.python)