Skip to content

Commit

Permalink
Pythonpkg fix_python_shebang_for default ['bin/*']
Browse files Browse the repository at this point in the history
Make fix_python_shebang_for = ['bin/*'] default in PythonPackage
easyblock. As discussed in:
easybuilders#3498
  • Loading branch information
VRehnberg committed Nov 6, 2024
1 parent eeda121 commit 86946e8
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 86946e8

Please sign in to comment.