Christopher Barker <chris.bar...@noaa.gov> wrote:

> 
> > Brian Granger <ellisonbg....@gmail.com> wrote:
> 
> >> I seem to recall that a Framework build of Python is needed if you
> >> want to do anything with the native Mac GUI.  Is my understanding
> >> correct?
> 
> Pretty much -- to access the Mac GUI, an app needs to be in a proper
> Mac application bundle.

But there's no pressing reason Python has to supply that bundle.  You
could build your own app using PyObjC to access the Cocoa GUI, using
Python without a Python app bundle.  The two things are logically
separate, aren't they?  You can have a framework build of Python without
having a Python application bundle.

I suspect that the default build of PyObjC assumes that Python is a
framework build, too.  But I don't know if you could build a
non-framework Python and non-framework PyObjC, and use those together to
write Python programs that could access Cocoa.  I suspect you could, but
I also suspect it would be a lot of work.

Bill
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to