Re: [Pythonmac-SIG] [py2app] packaging an egg using pkg_resources

2011-10-26 Thread Chris.Barker
On 10/23/11 10:52 PM, Ronald Oussoren wrote: The "proper" solution is to teach py2app how to copy eggs with their metadata and resources into the application bundle. That would be nice, but I don't know that it's really the "best" solution. Eggs exist and py2app should support them, otherwise

Re: [Pythonmac-SIG] dialog always busy, not titled right

2011-10-04 Thread Chris.Barker
On 10/4/11 9:56 AM, Alex Hall wrote: I am running from source. On windows, the program runs normally from source or as an application. Would this be why it is running so slowly? The Mac does some "special" stuff when running from an app -- nothing like this on Windows. But it effect window tit

Re: [Pythonmac-SIG] Button Label change on EVT_BUTTON in wxpython!!!

2011-08-29 Thread Chris.Barker
A) this is a good question for the wxPython list -- probably not a Mcac issue B) http://wiki.wxpython.org/MakingSampleApps That being said: self.run_button=wx.Button(self.panel,ID_RUN_BUTTON,label='Install') self.Bind(wx.EVT_BUTTON, self.OnRun,id=ID_RUN_BUTTON) I prefer this style: self.ru

Re: [Pythonmac-SIG] How to get setuptools to build a Universal Binary?

2009-01-07 Thread Chris.Barker
Ned Deily wrote: Safer: after fixing the mysql libs installed on your mac (not in the app bundle), first rebuild MySQLdb, yep -- the linking probably failed for the PPC side. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R(206) 526-6959

Re: [Pythonmac-SIG] py2app: how to exclude pygame_icon.icns ?

2009-01-03 Thread Chris.Barker
Bob Ippolito wrote: Unknown load command: 27 means it's seeing a load command (low level Mach-O stuff) that it doesn't understand, which is reasonable because I don't think I've updated the code since 10.4 or so and there are probably some new ones. There have been some fixes for similar issues

Re: [Pythonmac-SIG] python help() problems

2008-12-22 Thread Chris.Barker
Christopher Barker wrote: This is a bug I just happened to discover in a recent wxPython -- you should be able to import wx.addons without initializing an App first. I just sent a note to the wxPythons list, but have not yet gotten a reply. OK. I got an answer, it turns out that wx.addons is d

Re: [Pythonmac-SIG] newbie questions about Mac APIs in Python

2008-10-13 Thread Chris.Barker
Joe Strout wrote: But what if we want to do some of them from a wxPython app (only when we detect we're running on a Mac, of course)? Good question -- can pyObjC play well with wx? Anyone know? -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R

Re: [Pythonmac-SIG] Back-porting Python 2.3 to Mac OS X 10.5?

2008-04-16 Thread Chris.Barker
You might as well try to build the source, why not? http://python.org/download/releases/2.3.7/ Otherwise, you might try the 2.3.3 build here: http://homepages.cwi.nl/~jack/macpython/download.html I thought there was a 2.3.5 build somewhere, but who knows where? -Chris -- Christopher Barker,