Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Kevin Walzer
Christopher Barker wrote: I don't think TK does use native widgets -- it certainly didn't used to. It was originally built for X11, and got ported to other platforms by emulating the X11 drawing calls, still drawing its own widgets. I know they've added support for native standard dialogs, l

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Bill Janssen
Christopher Barker wrote: > > could build your own app using PyObjC to access the Cocoa GUI, using > > Python without a Python app bundle. > > Can you? Isn't a PyObjC app using the Python executable as the "main" > app, just like any other python program? Yes, using the Python executable. But i

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Christopher Barker
Brian Granger wrote: Some people I am working with feel that doing a framework build is a bit of a hassle. It means they/we have to support custom build logic on OS X compared to linux/unix, which I agree is a pain. no matter how you slice, it you will have to do some custom support for OS-X

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Bill Janssen
Ronald Oussoren wrote: > On 14 May, 2009, at 4:31, Bill Janssen wrote: > > > I think this depends on what you think the "native Mac GUI" is, and > > what > > you want to do with it. For instance, a non-framework build, combined > > with Xlib (http://python-xlib.sourceforge.net/) works quite wel

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Kevin Walzer
Ronald Oussoren wrote: And to be honest, I even have doubts about a toolkit such as Tk which uses native widgets but has a rather un-mac feeling unless the developer really knows what he's doing. That explains why IDLE looks ugly on OSX, I don't know what I'm doing w.r.t. Tk on OSX, and AFAIK

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Ronald Oussoren
On 14 May, 2009, at 4:31, Bill Janssen wrote: I think this depends on what you think the "native Mac GUI" is, and what you want to do with it. For instance, a non-framework build, combined with Xlib (http://python-xlib.sourceforge.net/) works quite well with the Apple X11 server, which in tu

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-14 Thread Ronald Oussoren
On 14 May, 2009, at 1:03, Bill Janssen wrote: Christopher Barker wrote: Brian Granger 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 need

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-13 Thread Bill Janssen
I think this depends on what you think the "native Mac GUI" is, and what you want to do with it. For instance, a non-framework build, combined with Xlib (http://python-xlib.sourceforge.net/) works quite well with the Apple X11 server, which in turn uses the native Mac GUI. Bill Brian Granger wr

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-13 Thread Ned Deily
In article <15498.1242255...@parc.com>, Bill Janssen wrote: > 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

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-13 Thread Ned Deily
In article <6ce0ac130905131523m7c4002e9i18816fd6dad37...@mail.gmail.com>, Brian Granger wrote: > > Do you have a reason for not wanting to use a Framework build? > Some people I am working with feel that doing a framework build is a > bit of a hassle. It means they/we have to support custom bui

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-13 Thread Bill Janssen
Christopher Barker wrote: > > > Brian Granger 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 ap

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-13 Thread Brian Granger
> Pretty much -- to access the Mac GUI, an app needs to be in a proper Mac > application bundle. The Framework build supplies that. Technically, the use > of a framework is independent for this requirement, but using a Framework > build is the easiest way to satisfy it. OK. > Do you have a reason

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-13 Thread Christopher Barker
Brian Granger 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. The Framework build supplies that

Re: [Pythonmac-SIG] Why is Framework build of Python needed

2009-05-13 Thread Bill Janssen
The Mac comes with a Framework build of Python pre-installed (and with PyObjC pre-installed, which you also need). Just use /usr/bin/python, and you'll be fine. It's the default way that Python builds on a Mac, too. Bill Brian Granger wrote: > Hi, > > I seem to recall that a Framework build

[Pythonmac-SIG] Why is Framework build of Python needed

2009-05-13 Thread Brian Granger
Hi, 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? If so, is this requirement documented somewhere? Thanks! Brian ___ Pythonmac-SIG maillist - Pythonmac-S