On Fri, Apr 29, 2005 at 04:36:15PM -0400, Bob Ippolito wrote:
> 
> On Apr 29, 2005, at 4:33 PM, Serge Rey wrote:
> 
> >i'm trying to build a tkinter app using py2app and think i'm almost
> >there but have hit a bit of a bump.
> >
> >the app starts but then immediately closes if i start it either of the
> >following two ways:
> >
> >    a. clicking on the starsgui.app icon in finder
> >    b. open starsgui.app  (from a shell)
> >
> >however, from a shell if i cd into:
> >    starsgui.app/Contents/MacOS
> >and then
> >    ./starsgui.app
> >
> >the built app runs just fine.
> >
> >
> >so my question is, am i neglecting something painfully obvious that
> >explains why cases a and b don't quite work yet?
> >
> >this is all under python 2.4 and py2app 0.1.9
> 
> Sounds like you did something really weird.  The executable shouldn't  
> be named starsgui.app?!  You're going to have to post more about what  
> you're doing (i.e. at least your setup.py) before I'd know something  
> definitive.

sorry, the executable is starsgui not starsgui.app
so the successful start is with ./starsgui
from within starsgui.app/Contents/MacOs


here is setup.py:

        from distutils.core import setup
        import py2app
        setup(
        app=['starsgui.py'],
        )




-- 
Serge Rey       http://geography.sdsu.edu/People/Faculty/rey.html
Science is like sex: sometimes something useful comes out, but that is
not the reason we are doing it.
        - Richard Feynman

Attachment: pgptkdxvR3Pqo.pgp
Description: PGP signature

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

Reply via email to