Re: [Pythonmac-SIG] [py2app] optimize and includes

2011-06-28 Thread Jeffrey O'Neill
Thanks for fixing this. If it matters, I need 32-bit only code to support older versions of OS X but I don't need to support PPC (shouldn't be too many of those around anymore...). On Tue, Jun 28, 2011 at 8:08 AM, Ronald Oussoren wrote: > > On 18 Jun, 2011, at 16:38, Jeffr

[Pythonmac-SIG] [py2app] optimize and includes

2011-06-18 Thread Jeffrey O'Neill
I'm using the latest py2app. Since my app uses __import__ to load some modules, I list those modules in the include option. This works great when optimization is turned off, but when I turn optimization on (1 or 2), the modules listed in the includes option go missing. Is there a fix for this?

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-09 Thread Jeffrey O'Neill
message. :) I don't know if this would be done in setuptools or py2app. Thanks everyone for your help. Jeff On Thu, Jun 9, 2011 at 7:10 PM, Jeffrey O'Neill wrote: > > On Tue, Jun 7, 2011 at 9:53 AM, Ronald Oussoren wrote: > >> >> Another option to get

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-09 Thread Jeffrey O'Neill
On Tue, Jun 7, 2011 at 9:53 AM, Ronald Oussoren wrote: > > Another option to get more information, could you run: > > $ DYLD_PRINT_LIBRARIES=1 /dist/OpenSTV.app/Contents/MacOS/OpenSTV > > This will print the libraries that get loaded, and might provide insight in > what's going on. > > Also: what

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-06 Thread Jeffrey O'Neill
On Mon, Jun 6, 2011 at 1:08 PM, Chris Weisiger wrote: > On Mon, Jun 6, 2011 at 9:56 AM, Jeffrey O'Neill > wrote: > >> >> Hi Ronald, >> >> Thanks for the suggestions. I'm not importing GUI code in a thread (and >> threads are not used in lau

Re: [Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-06 Thread Jeffrey O'Neill
On Mon, Jun 6, 2011 at 10:04 AM, Ronald Oussoren wrote: > > The setup file looks fine. What you could try is to build using > '--no-strip' and then use 'gdb ./dist/OpenSTV.app/Contents/MacOS/OpenSTV'. > With some luck this gives a hint on what causes the crash. > > Are you by any change importin

[Pythonmac-SIG] debugging bus error on launch [py2app]

2011-06-05 Thread Jeffrey O'Neill
I've used py2app for many years and have really appreciated how it makes it so easy to distribute my app. I'm now running into problems and would appreciate suggestions for how to debug. My setup: -- Snow Leopard -- 32-bit Python 2.7 from python.org -- py2app 6.3 -- only external package is wxPyt

Re: [Pythonmac-SIG] py2app issue #19: py2app 0.6 series does not copy 'data' resources into the app bundle

2011-06-05 Thread Jeffrey O'Neill
gt; > On 3 Jun, 2011, at 20:04, Jeffrey O'Neill wrote: > > > I've used py2app for many years with great success. I'm now running into > a problem and I suspect it is issue 19 that is causing the problem. > > > > My setup.py file includes data resources.

[Pythonmac-SIG] py2app issue #19: py2app 0.6 series does not copy 'data' resources into the app bundle

2011-06-03 Thread Jeffrey O'Neill
I've used py2app for many years with great success. I'm now running into a problem and I suspect it is issue 19 that is causing the problem. My setup.py file includes data resources. From issue 19, it looks like this is broken with the 0.6.* series. What is the most recent version of py2app tha