Skip to content

Commit

Permalink
Fix using relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
Micket committed Nov 22, 2024
1 parent f573a39 commit db0e35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easybuild/easyblocks/p/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,6 @@ def make_module_extra(self, *args, **kwargs):
new_dir = os.path.join('lib', 'python' + self.pyshortver, 'site-packages')
old_dir = os.path.join(log_path(), 'python')
if not os.path.exists(os.path.join(self.installdir, new_dir, 'sitecustomize.py')):
txt += self.module_generator.prepend_paths(PYTHONPATH, os.path.join(self.installdir, old_dir))
txt += self.module_generator.prepend_paths(PYTHONPATH, old_dir)

return txt

0 comments on commit db0e35b

Please sign in to comment.