So could you just resend an email with the command exactly how it would as oppear because that looks a littled funky. Let's assume that the game is called helloworld.py and put it in the trunk folder or wherever. Thank you!
-Zack On Feb 17, 2012, at 4:17 PM, Sam Bull <sam.hack...@sent.com> wrote: > On Thu, 2012-02-16 at 18:52 -0700, Ian Mallett wrote: > >> I am unaware of any other binary distribution techniques for Python on >> Mac other than py2app. > > [Sent from wrong address, so re-posting] > > Pyinstaller? It claims to be cross-platform. It's also the only one that > I've managed to get working without much hassle. I've only tested it on > Linux myself though. > > To create a frozen binary on my system, all I need to run is: > python ~/.pyinstaller-1.5.1/pyinstaller.py --onefile -o pyinstaller > trunk/pacman.py > > That's with pyinstaller installed in a hidden folder in my home > directory. The -o argument is the output directory. So this compiles my > game located at "trunk/pacman.py" into a single binary, saving it into > the "pyinstaller" folder. > > I've not managed to have any success with alternatives like py2app or > py2exe. > > Oh, and one caveat, the exit() function doesn't work with Pyinstaller, > use sys.exit() instead. > > -- > Sam Bull <sambull.org> > PGP: 9626CE2B >