Skip to content
Snippets Groups Projects
Commit 121d8497 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

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

parent 1e2fcca8
No related branches found
No related tags found
No related merge requests found
......@@ -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'))
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment