On 14 May, 2009, at 1:03, Bill Janssen wrote:

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.

And more importantly: most other users use a framework, as well as all py2app and pyobjc developers. That means that you're more likely to run into problems using a non-framework installation of Python, and that you'll get less help when you do.

Ronald

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to