[Pythonmac-SIG] What should be on sys.path for MacPython 2.3
Tony Lownds
tony@lownds.com
Sun, 13 Apr 2003 12:20:44 -0700
>Hmm, hmm, you have a point here (the nice and short name), but I'm not
>convinced yet that stuffing other directories in here is a good idea.
>Also, we have the version number problem, so it should at the very least
>be ~/Library/Python/2.3/.
With a version number in the path, where do users put
version-independent modules? Or do they have to migrate them when
they upgrade versions of python?
For extension modules, I can definitely see the need for a
per-version directory, but I also see a need for users - not just
distutils and PIMP - to put files under ~/Library/Python and
/Library/Python.
Are there going to be separate version directories for framework and
non-framework builds?
>>As a user I think I'd prefer distutils to install in /Library/Python/
>>when possible. This way it is available to CGI programs and other
>>users without any hassle.
>
>Are you suggesting getting rid of site-packages on sys.path altogether?
>Wouldn't that confuse unix-Python old-hands?
I'd like it if somewhere under /Library/Python could become the
default distutils and PIMP installation location for darwin,
framework and non-framework builds.
That is a big change though. Just having them on sys.path would be great too.
-Tony