Re: [Python-Dev] [PATCH] Handling of scripts / substitution of python executable path

2007-02-23 Thread Martin v. Löwis
Hans Meine schrieb: > For a long time, I have been annoyed by distutils behavior concerning > "scripts": I always put > #!/usr/bin/env python > into the first line in order to let the incredibly useful "env" program start > the right python version. > > I know that it is quite evil to hardco

Re: [Python-Dev] [PATCH] Handling of scripts / substitution of python executable path

2007-02-23 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 23, 2007, at 9:55 AM, Jean-Paul Calderone wrote: > On Fri, 23 Feb 2007 15:36:50 +0100, Hans Meine > <[EMAIL PROTECTED]> wrote: >> Hi! >> >> [snip - distutils should leave #!/usr/bin/env python alone] >> >> Comments? (I first posted this to d

Re: [Python-Dev] [PATCH] Handling of scripts / substitution of python executable path

2007-02-23 Thread Jean-Paul Calderone
On Fri, 23 Feb 2007 15:36:50 +0100, Hans Meine <[EMAIL PROTECTED]> wrote: >Hi! > > [snip - distutils should leave #!/usr/bin/env python alone] > >Comments? (I first posted this to distutils-sig but was told that distutils >is a bit neglected there, so I decided to try to push these simple patches

[Python-Dev] [PATCH] Handling of scripts / substitution of python executable path

2007-02-23 Thread Hans Meine
Hi! For a long time, I have been annoyed by distutils behavior concerning "scripts": I always put #!/usr/bin/env python into the first line in order to let the incredibly useful "env" program start the right python version. I know that it is quite evil to hardcode /usr/bin/python or /usr/l