site.py appears to append the site-packages to the
END of sys.path. I think it should be set after
PYTHONPATH but before the standard places like
'/home/rozen/lib/python2.1',
'/home/rozen/lib/python2.1/plat-linux2',
'/home/rozen/lib/python2.1/lib-tk',
'/home/rozen/lib/python2.1/lib-dynload'.
How else can I install a new version of any of the
packages in the standard places without overwriting
or renaming them.
In particular, I am trying to use disutils to
distribute a version of _tkinter and Tkinter.py; they
get placed in site-packages, which I think is the
correct place, but they don't get executed because the
usual suspects are searched first.
I guess that I can force the issue by setting the
PYTHONPATH, but I don't know how to do that from
distutils. And that is not an answer.
|