
Antoine Pitrou wrote:
Jesse Noller <jnoller@...> writes:
I think the "best" fix for this is to make the bin/ directory mirror the lib layout - each version would get it's own bin directory:
.local/ bin/ python2.6/ python3.1/
-1. The point of .local/bin is that it's (supposedly) standard, so that you have only one path to add to $PATH. Putting scripts in versioned subdirectories totally defeats its purpose.
Also -1 because the -m switch was added to address exactly this problem of interpreter version specific copies of scripts without needing a proliferation of script files in the system bin directories. That said, does distutils have the equivalent of Python's "make altinstall" command to tell the distribution to install versioned scripts (e.g. easy-install-2.6) without altering non-versioned symlinks (e.g. easy-install)? Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia ---------------------------------------------------------------