[Pythonmac-SIG] Trying to make an app

Steven Palm n9yty at n9yty.com
Wed Oct 6 16:36:50 CEST 2004


On Oct 5, 2004, at 10:02 PM, Bob Ippolito wrote:
> Well it works with a trivial wx app.. I just tested it.  See 
> http://svn.red-bean.com/bob/py2app/trunk/examples/wxPython/doodle/

  Thanks for taking the time to test that, Bob.

> As far as this package goes, I can't help you without more 
> information.  Try it without packages or includes, it's supposed to do 
> all that for you.

  Well, most of the things included are resources for the program (data 
files/etc) and need to be specifically included on Linux/Windows as 
well. I overlooked the fact that for BundleBuilder this was a list of 
tuples, so no wonder py2app was getting confused. :-(  Sorry about 
that!

  I fixed that, and now it launches but dies with a recursion error... 
It may be related to not being able to find it's resource files because 
it expects them to live in "Contents/Resources/resources", and that's 
how I had BundleBuilder setting it up as well, but I can't immediately 
see a way to get py2app to duplicate the tree.

  They get copied like this:

  copying ./resources/pblayout.xy -> BitPim.app/Contents/Resources

  Any way to get py2app to preserve the original directory hierarchy?

  Thanks!




More information about the Pythonmac-SIG mailing list