[Python-bugs-list] [ python-Feature Requests-691889 ] Add MacOS.framework attribute

SourceForge.net noreply@sourceforge.net
Mon, 24 Feb 2003 01:59:15 -0800


Feature Requests item #691889, was opened at 2003-02-23 23:27
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=691889&group_id=5470

Category: Macintosh
Group: None
Status: Closed
Resolution: Accepted
Priority: 5
Submitted By: John Ehresman (jpe)
Assigned to: Jack Jansen (jackjansen)
Summary: Add MacOS.framework attribute

Initial Comment:
On MacOS X, python may be compiled with a named
framework and extension modules must be linked at build
time against the framework with the same name.  This
new attribute would make the name of the framework
available at runtime.

----------------------------------------------------------------------

>Comment By: Jack Jansen (jackjansen)
Date: 2003-02-24 10:59

Message:
Logged In: YES 
user_id=45365

You can change the location where the framework is installed, by specifying something like --enable-framework=$HOME/Library/Frameworks, but you cannot change the name of the framework, that will always be Python.framework. You can of course manually edit the Makefile, but that isn't supported behaviour.

Or am I missing something?

----------------------------------------------------------------------

Comment By: John Ehresman (jpe)
Date: 2003-02-24 00:54

Message:
Logged In: YES 
user_id=22785

The revised scheme is fine with me if the framework name is
always going to be Python.  If it is, you might want to
remove the option to set it at configure time.  If there's a
reason for someone to compile with a different framework
name, I think the name should be available at runtime.

----------------------------------------------------------------------

Comment By: Jack Jansen (jackjansen)
Date: 2003-02-24 00:35

Message:
Logged In: YES 
user_id=45365

Implemented in macosmodule.c rev. 1.65 in a slightly different way. There's now an attribute MacOS.linkmodel which can have one of four values:
'static', 'framework', 'shared' (not used currently, but is there for compleness if I ever get around to fixing non-framework shared-library builds) and 'cfm' (for MacPython-OS9).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=691889&group_id=5470