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 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 of
> >
> >         #!/usr/bin/pythonX.Y
> >
> > instead of #!/usr/bin/python
> >
> > (...)
>
> 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. Patching the source
package will not work.

http://docs.python.org/dist/node10.html

That's what we do and distutils needs to be fixed, IMHO.

regards,
-- stratus


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to