Re: [Pythonmac-SIG] py2app and Terminal

2008-12-24 Thread Conan C. Albrecht
Be sure the shebang is at the TOP of your script -- first line with nothing in front of it. Py2app is really for GUI applications. The solution Sean suggests is the best way for a terminal app. Conan C. Albrecht, Ph.D. Information Systems Department Bri

Re: [Pythonmac-SIG] py2app and Terminal

2008-12-24 Thread Sean DiZazzo
Give your app a shebang line """#!/usr/bin/env python"" and then rename the script ".command" Then you can double click it and it will open a shell and run. ~Sean On Wed, Dec 24, 2008 at 10:53 AM, Bryan Smith wrote: > Hi everyone, > > I am just finishing up an application and I would like to crea

[Pythonmac-SIG] py2app and Terminal

2008-12-24 Thread Bryan Smith
Hi everyone, I am just finishing up an application and I would like to create an app file for my program. That said, it's CLI based with no GUI. If I try to make an app, it only seems to work if I have a GUI. Is it possible to tell py2app to open Terminal.app first and run my program through that?