Thank you Bob.

>> Very simple beginner script. Not sure why it doesn't write files  
>> after py2appletizing.
>> Seems to work just fine from the command line. What am I missing?
>
> You're missing the fact that the current directory in a py2app- 
> generated applet is inside the Resources folder of the applet itself.

I made the assumption that since py2app automagically created an  
Apple application without my having to know anything about a bundle  
or its structure, that it would also create path emulation as well.

Naively, I start with a script in my ~/src folder and I end with an  
application in my ~/src folder. Like a typical Apple user, I treat  
the bundle as the code itself and don't bother to dwell on its  
content or structure.

I now understand what the --alias (-A) option to py2app is for.  
Otherwise you have to start planning for the Bundle tree structure  
from the start.

Am I the first to make this assumption, or is this a tip that should  
be added to the wiki py2app example page?


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

Reply via email to