[issue2573] Can't change the framework name on OS X builds

Ronald Oussoren report at bugs.python.org
Fri May 2 21:50:08 CEST 2008


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

This functionality is enabled as of revision 62644

The actual patch is slightly more involved than the attached patches, 
the patch forgot to add a variable to Mac/Makefile.in and doesn't patch 
Mac/IDLE/Makefile.in at all.

I've also made the Info.plist inside applications and the framework 
dynamic (that is, patched by configure), that way the Python version is 
automaticly patched into these files.


Furthermore the framework identifier is changed when you use the --with-
framework-name argument to configure.


There is one minor open issue with this patch, which I won't fix: 
site.py adds ~/Library/Python/... to sys.path, but only if 
"Python.framework" is in sys.prefix. That code won't trigger when 
building a framework with another name (such as --with-framework-
name=Stackless). I don't think that can be fixed without modifying 
site.py during configure or installation. (see site.py, line 199)

----------
resolution:  -> fixed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2573>
__________________________________


More information about the Python-bugs-list mailing list