Comment 2 for bug 988468

Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 988468] Re: /usr/bin/pastebinit has bogus #! line

On Apr 25, 2012, at 08:08 PM, Stéphane Graber wrote:

>Talking to Barry on IRC, the consensus is that "/usr/bin/env python" is
>fine for the upstream code but "/usr/bin/python" should be used for the
>package script, having at least Debian/Ubuntu carry a distro patch for
>this.

Note that I'm pushing again in debian-python to have dh_python{2,3} fix the
shebang lines automatically. Debian Python policy now strongly discourages
/usr/bin/env, but also I think the helpers should help you! (I don't know
what helper if any pastebinit uses.)