Subject: Re: python binary
To: None <firstname.lastname@example.org>
From: Jeroen Ruigrok/asmodai <email@example.com>
Date: 10/10/2005 20:01:25
-On [20051010 01:38], Joerg Sonnenberger (firstname.lastname@example.org) wrote:
>The Right Thing for the scripts would be to allow easy patching
>e.g. via sed. The replace support in pkgsrc for that.
this might please your technical sense of perfection, but the real world out
here just uses /usr/bin/env python, any deviation of that will be looked
upon with weird eyes.
Hardcoded paths using sed like you suggest is a recipe for disaster since
you are effectively hardlinking scripts used with 2.3 to only work with 2.3,
whereas they will work with 2.4 to name one example.
Using PATH you can also easily switch the python executable around between
versions easily. You cannot do that with your solution.
Don't try to solve this for the users in a way that deviates from the
standard Python way, thanks.
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
Free Tibet! http://www.savetibet.org/ | http://www.andf.info/
http://www.tendra.org/ | http://www.in-nomine.org/ | email@example.com
Dreams are like Angels, they keep bad at bay, bad at bay, Love is the
Light, scaring Darkness away...