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

Re: shebang lines for Python scripts



"Piotr Ożarowski" <piotr@debian.org> wrote:
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? (+ an option to disable this behaviour in both helpers) if yes, should options (-OO, etc.) be removed as well? [¹] or /usr/bin/python2, depends on PEP 394 status -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645 -- To UNSUBSCRIBE, email to debian-python-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org Archive: 20110304222346.GU30982@piotro.eu">http://lists.debian.org/20110304222346.GU30982@piotro.eu

I think it's reasonable, but if you think you should do that I think we should make the Python policy language on it stronger.

2to3 doesn't seem to convert shebangs, so it would be good if dh_python3 did.

Scott K
Reply to: