On Sun, Apr 13, 2008 at 07:59:21AM -0400, Barry Warsaw wrote:
On Apr 12, 2008, at 9:41 PM, Stephen Waterbury wrote:
I used to always set up my own Python[s] in /usr/local and put that first in my PATH, but I have gotten lazy lately, and sometimes it will bite me. ;)
On Debian and derivatives (e.g. Ubuntu) you might have even more fun. They put /usr/local/lib/pythonX.Y/site-packages on the sys.path *of the system python*! This means that you can break your system Python by installing a version of Python from source and then distutil'ing things into there. Astoundingly, this is promoted as a feature.
I want it like that. You are confusing /opt and /usr/local. This is the way I expect things to work. I do not want to install my own packages in "/usr/lib/pythonX.Y/site-packages". This is for apt to deal with, not for me. Gaƫl