Distros such as Fedora
(https://fedoraproject.org/wiki/Packaging:Python#Multiple_Python_Runtimes
) are clamping down on python interpreter paths due to the desire to
switch to python3 so /usr/bin/python or /usr/bin/env python are no
longer liked. Unfortunately macOS doesn't ship a /usr/bin/python2 link
so switch all python interpreter paths to /usr/bin/python2.7 as a
compromise.
Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
-#!/usr/bin/python
+#!/usr/bin/python2.7
#
# fio_jsonplus_clat2csv
#
-#!/usr/bin/python
+#!/usr/bin/python2.7
#
# fiologparser.py
#
print_all_stats(ctx, series)
else:
print_default(ctx, series)
-
-#!/usr/bin/env python2.7
+#!/usr/bin/python2.7
"""
Utility for converting *_clat_hist* files generated by fio into latency statistics.
-#!/usr/bin/env python2.7
+#!/usr/bin/python2.7
""" Cut the number bins in half in fio histogram output. Example usage:
$ half-bins.py -c 2 output_clat_hist.1.log > smaller_clat_hist.1.log
'e.g. coarseness of 4 merges each 2^4 = 16 consecutive '
'bins.')
main(p.parse_args())
-
-#!/usr/bin/env python
+#!/usr/bin/python2.7
#
# Copyright (C) 2013 eNovance SAS <licensing@enovance.com>
# Author: Erwan Velu <erwan@enovance.com>
-#!/usr/bin/python
+#!/usr/bin/python2.7
#
# steadystate_tests.py
#