Re: Bug#148415: jack: should use #!/usr/bin/python
On Jun 23, Michael Banck wrote:
> Hi,
>
> On Tue, May 28, 2002 at 05:22:32PM -0500, Chris Lawrence wrote:
> > Some users may have a local version of Python installed (like Python
> > >from CVS), so jack should use the path to the default Debian version
> > of Python rather than using /usr/bin/env.
>
> As Python-policy says:
>
> 1.3.2. Interpreter Location
>
> The preferred specification for the Python interpreter is
> `/usr/bin/python' or `/usr/bin/python<X>.<Y>'.
>
> If a maintainer would like to provide the user with the possibility
> to override the Debian Python interpreter, he may want to use
> `/usr/bin/env python' or `/usr/bin/env pythonX.Y'.
>
> I'll close this bug, OK?
Not OK, since the locally-installed Python may not/will not have
access to jack's site-python files. Using /usr/bin/env python is IMHO
only acceptable if the package is self-contained or munges sys.path to
include any non-standard modules in the search path.
Chris
--
Chris Lawrence <chris@lordsutch.com> - http://www.lordsutch.com/chris/
--
To UNSUBSCRIBE, email to debian-python-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: