Skip to content

Commit

Permalink
Remove error since it breaks CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Micket committed Nov 22, 2024
1 parent 8c30f6b commit f573a39
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions easybuild/easyblocks/p/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -643,11 +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')):
if not os.path.exists(os.path.join(self.installdir, old_dir, 'sitecustomize.py')):
raise EasyBuildError("sitecustomize.py is missing from installation.")
else:
txt += self.module_generator.prepend_paths(PYTHONPATH, os.path.join(self.installdir, old_dir))


txt += self.module_generator.prepend_paths(PYTHONPATH, os.path.join(self.installdir, old_dir))

return txt

0 comments on commit f573a39

Please sign in to comment.