[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shebang lines for Python scripts



* Piotr Ożarowski <piotr@debian.org>, 2011-03-04, 23:23:
any objections to change all shebangs (that do not match
/usr/bin/python\d(\.\d+) but do math .+python.* regexp) to
/usr/bin/python¹ in dh_python2 and to /usr/bin/python3 in
dh_python3?

dh_python2 would change "/usr/bin/env python3" to "/usr/bin/python";
dh_python3 would change "/usr/bin/env python" to "/usr/bin/python3".

No, thank you, that's wrong.

if yes, should options (-OO, etc.) be removed as well?

No.

--
Jakub Wilk


Reply to: