[Distutils] virtual-python.py, sys.prefix, and Mac

Ronald Oussoren ronaldoussoren at mac.com
Wed Sep 19 08:29:18 CEST 2007


 
On Wednesday, September 19, 2007, at 07:26AM, "Ian Bicking" <ianb at colorstudy.com> wrote:

>> 
>> It is in the python.org source tree: Modules/getpath.c
>
>That's the file used in the Framework build of Python?  I only see some 
>small references to __APPLE__, none of which seem related to Frameworks. 
>  Also, if you build Python from source it works fine -- it's only the 
>python that Apple ships that has the problem.  They must use some 
>patched version of this file that they use...?

Start reading at line 694 in Modules/getpath.c, that's in the head of the release25-maint branch.

I'm pretty sure that you get the same problem when you build from source and give the --enable-framework option to configure. Python.framework is not an Apple invention.

Ronald



More information about the Distutils-SIG mailing list