Skip to content
Snippets Groups Projects

Quick-fix to add nest's lib64 site-packages to PYTHONPATH

Merged Athanasios Karmas requested to merge cherry-pick-121d8497 into master
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
@@ -176,3 +176,8 @@ class Nest(CMakePackage):
@on_package_attributes(run_tests=True)
def installcheck(self):
make("installcheck")
# quick-fix to add lib64/python3.8/site-packages to the PYTHONPATH;
# this should happen automatically for packages extending Python...
def setup_run_environment(self, env):
env.prepend_path('PYTHONPATH', self.prefix.lib64.join('python3.8/site-packages'))