[PATCH] use "! /usr/bin/env python" in generate_docs.py

Aaron Bentley aaron.bentley at utoronto.ca
Wed May 10 02:04:35 BST 2006

Robert Widhopf-Fenk wrote:
> But now you can "ln -s `which python2.4` ~/bin",
> i.e. you may control which version is called by
> modifying PATH and/or setting symlinks.

Doesn't it seem a bit much to make the user do that?  What if they want 
Python2.5 by default, but generate_docs is incompatible with it?

> Adding the code in bzr.dev/bzr which "searches" for a 2.4
> version would have been overkill for me. 

I can see that, but on the other hand, it means that generate_docs will 
fail on more systems than bzr will fail on, even though they have the 
same requirement for python2.4.

Perhaps that's acceptable, since generate_docs isn't as critical as bzr, 
but personally, I'd rather do /usr/bin/env python2.4 on both of them.


More information about the bazaar mailing list