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

Re: #!/usr/bin/python2.3 vs #!/usr/bin/env python2.3

Here's my perspective on this :

On Tue, Aug 12, 2003 at 10:10:57AM +0200, Jérôme Marant wrote:

| > #!/usr/bin/env python2.3 helps programs running everywhere, i.e. they
| > will work with people that installed python in /usr/local/bin for
| > instance.

Use this if you are distributing your script/program to the world at

| Hmm, after reading everyone's arguments, it seems wiser to use
| #!/usr/bin/python2.3 in order to avoid mixing with local python
| installs.

Use this in a debian package.

The difference:  on $RANDOM_UNIX_SYSTEM you don't know that pythonX.Y
is in /usr/bin, but on a debian system you do and on a debian system
you'd rather not deal with other installations in $ENV.


If Microsoft would build a car...
... Occasionally your car would die on the freeway for no reason. You
would have to pull over to the side of the road, close all of the car
windows, shut it off, restart it, and reopen the windows before you
could continue. For some reason you would simply accept this.

Attachment: pgpBof40l7m3U.pgp
Description: PGP signature

Reply to: