Re: installation of scripts in the brave new Python world

2006-06-28 Thread Luis Rodrigo Gallardo Cruz
Dice Josselin Mouette <[EMAIL PROTECTED]> que: Le mardi 27 juin 2006 à 19:10 -0500, Joe Wreschnig a écrit : distutils rewrites scripts at installation time. Patching the source package will not work. http://docs.python.org/dist/node10.html How about patching distutils in Debian to get rid of

Re: installation of scripts in the brave new Python world

2006-06-28 Thread Matthias Klose
> > How about patching distutils in Debian to get rid of this bug? > > While I'm all for patching stupid upstream behavior, it would be a > pretty big API deviation. There's a relatively simple fix, which is > using /usr/bin/python for the last run (or even just for an > install_scripts run). +1.

Re: installation of scripts in the brave new Python world

2006-06-28 Thread Joe Wreschnig
On Wed, 2006-06-28 at 20:09 +0200, Josselin Mouette wrote: > Le mardi 27 juin 2006 à 19:10 -0500, Joe Wreschnig a écrit : > > > How it's that different than patch the source packages to > > > s/python2.4/python/ as we do actually in some cases or replacing to > > > python2.3 when it isn't 2.4 compa

Re: installation of scripts in the brave new Python world

2006-06-28 Thread Gustavo Franco
On 6/27/06, Joe Wreschnig <[EMAIL PROTECTED]> wrote: On Tue, 2006-06-27 at 20:22 -0300, Gustavo Franco wrote: > On 6/27/06, Carlo Segre <[EMAIL PROTECTED]> wrote: > > > > Hello All: > > > > As I was trying to implement the new Python policy, I noticed an effect > > which is not directly addressed

Re: installation of scripts in the brave new Python world

2006-06-28 Thread Josselin Mouette
Le mardi 27 juin 2006 à 19:10 -0500, Joe Wreschnig a écrit : > > How it's that different than patch the source packages to > > s/python2.4/python/ as we do actually in some cases or replacing to > > python2.3 when it isn't 2.4 compatible code? > > distutils rewrites scripts at installation time. P

Re: installation of scripts in the brave new Python world

2006-06-27 Thread Joe Wreschnig
On Tue, 2006-06-27 at 20:22 -0300, Gustavo Franco wrote: > On 6/27/06, Carlo Segre <[EMAIL PROTECTED]> wrote: > > > > Hello All: > > > > As I was trying to implement the new Python policy, I noticed an effect > > which is not directly addressed in the policy. That is when a package > > contains mo

Re: installation of scripts in the brave new Python world

2006-06-27 Thread Gustavo Franco
On 6/27/06, Carlo Segre <[EMAIL PROTECTED]> wrote: Hello All: As I was trying to implement the new Python policy, I noticed an effect which is not directly addressed in the policy. That is when a package contains modules and scripts, there have to be special precautions taken to make sure that

installation of scripts in the brave new Python world

2006-06-27 Thread Carlo Segre
Hello All: As I was trying to implement the new Python policy, I noticed an effect which is not directly addressed in the policy. That is when a package contains modules and scripts, there have to be special precautions taken to make sure that the scripts are not installed with a first line