Please sign in to comment.
Canonicalize Python shebangs
/usr/bin/env python3 is the suggested shebang for Python in general (likewise for python2) and is conventional across platforms. This eases development on systems where python is not installed in /usr/bin (FreeBSD for example) and makes it possible to develop in virtual environments (venv) for isolating dependencies. Many packaging guidelines discourage the use of /usr/bin/env, but since this is the canonical way of writing shebangs in the Python community, the packaging scripts are already equipped to handle substituting the appropriate absolute path to python automatically. This requires no changes on our part. : https://docs.python.org/3/using/unix.html?#miscellaneous Signed-off-by: Ryan Moeller <email@example.com>
- Loading branch information...
Showing with 9 additions and 13 deletions.
- +1 −1 cmd/arc_summary/arc_summary2
- +1 −1 cmd/arc_summary/arc_summary3
- +1 −1 cmd/arcstat/Makefile.am
- +1 −1 cmd/arcstat/arcstat
- +1 −1 cmd/dbufstat/Makefile.am
- +1 −1 cmd/dbufstat/dbufstat
- +0 −4 rpm/generic/zfs.spec.in
- +1 −1 tests/test-runner/bin/Makefile.am
- +1 −1 tests/test-runner/bin/test-runner.py
- +1 −1 tests/test-runner/bin/zts-report.py