Skip to content

Commit

Permalink
Merge pull request #3499 from VRehnberg/pythonpackage-fix-python-sheb…
Browse files Browse the repository at this point in the history
…ang-default

let `PythonPackage` easyblock fix python shebangs by default
  • Loading branch information
boegel authored Dec 4, 2024
2 parents b9b242a + 16f8910 commit 6ea2af3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions easybuild/easyblocks/generic/pythonpackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,9 @@ def extra_options(extra_vars=None):
"The template %(python)s will be replace by the currently used Python binary.", CUSTOM],
'check_ldshared': [None, 'Check Python value of $LDSHARED, correct if needed to "$CC -shared"', CUSTOM],
'download_dep_fail': [True, "Fail if downloaded dependencies are detected", CUSTOM],
'fix_python_shebang_for': [['bin/*'], "List of files for which Python shebang should be fixed "
"to '#!/usr/bin/env python' (glob patterns supported) "
"(default: ['bin/*'])", CUSTOM],
'install_src': [None, "Source path to pass to the install command (e.g. a whl file)."
"Defaults to '.' for unpacked sources or the first source file specified", CUSTOM],
'install_target': ['install', "Option to pass to setup.py", CUSTOM],
Expand Down

0 comments on commit 6ea2af3

Please sign in to comment.