mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-28 08:08:58 +00:00
scripts: modify shebang to use "/usr/bin/env python"
Before this patch, executing directly one of these scripts, for example `./plot_hystogram.py` in a unix-like environment meant that the default system-level python would be used, regardless of an eventual activated virtualenv. This was due to the "#!/usr/bin/python" shebang. Changing it to "/usr/bin/env python" is a fairly standard practice, keeps intact the compatiblity with the system level python, and allows a user to run in a virtualenv if he wants.
This commit is contained in:
1 parent
7cdd1f259f
commit
5a80a23bdc
5 files changed
+5
-5
No files matched your search
@@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""This program shows parametrized `hyperfine` benchmark results as an
|
||||
errorbar plot."""
|
||||
|
||||
Reference in new issue
Block a user