[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-05, 01:20:
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.

dh_python2 and dh_python3 cannot be used for the same files at the same
time (that's why dh_python2 igores python3-* packages, that's why
dh_python3 ignores python-* packages and that's why you have to use
-N/-p in all other packages if you want to invoke both helpers)

Wait, what, I cannot have a package that ship both python and python3 *scripts*?

--
Jakub Wilk


Reply to: