[Python-Dev] Location of .so files (Was: Sharing expat instances) (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Thu Dec 15 22:14:17 CET 2005


Phillip J. Eby wrote:

Right; the question is why not just EXECPREFIX "/lib/python" VERSION instead. What benefit does the separate directory offer?

I can only guess: it's primarily a matter of tidiness.

Note that the distutils, when installing a package containing C extensions, will install to site-packages under sys.execprefix; it does not separate the C extensions into special alternate library directories.

Yes, that's inconsistent. One way to make it consistent would be to honor lib-dynload; the other to get rid of lib-dynload. I cannot see how one of these option is better than the other (nor can I see what the relevance for the expat discussion is, so I changed the subject).

Regards, Martin



More information about the Python-Dev mailing list