On Sat, 2008-04-12 at 13:49 -0400, Phillip J. Eby wrote:
At 09:58 AM 4/12/2008 -0700, Cliff Wells wrote:
Unless I'm missing something, I can't see the advantage your way has over the traditional way.
Well for one, it isn't affected by changes in PATH.
I'd call this a distinct disadvantage: the shebang line is a Unixism, not a Pythonism. Python applications shouldn't be an aberation on a Unix platform. PATH is *supposed* to affect applications. Trying to break this isn't helping anyone. It's also worth noting that this a deployment-specific consideration. Many deployers are not Python experts (or at least, we shouldn't expect them to be), but they ought to be fairly expert in their deployment platform. I would not expect a sysadmin to know where to start looking to know that they should re-run easy_install, but I would certainly expect them to know how to fix a PATH variable for an account. Regards, Cliff Wells