Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed Sep 5, 2024
1 parent 9cbe0a9 commit 8b47e7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions easybuild/easyblocks/generic/pythonbundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def prepare_step(self, *args, **kwargs):
# when system Python is used, the first 'python' command in $PATH will not be $EBROOTPYTHON/bin/python,
# since $EBROOTPYTHON is set to just 'Python' in that case
# (see handling of allow_system_deps in EasyBlock.prepare_step)
req_py_majver = None
req_py_minver = None
if which('python') == os.path.join(python_root, 'bin', 'python'):
# if we're using a proper Python dependency, let det_pylibdir use 'python' like it does by default
python_cmd = None
Expand Down

0 comments on commit 8b47e7b

Please sign in to comment.