Issue #62 wontfix

Unclear how to create a standalone OS X application

Boris Smus
created an issue

There seem to be no documentation (other than old threads from 2004) on how to create a standalone .app bundle that embeds the Python interpreter without hand-writing a script.

Changing target to Release doesn't do it -- the binary is still quite small and doesn't work properly when invoked outside of Xcode.

This seems like the beginning of something, but it doesn't seem to be generic enough (lots of values are hardcoded):

Thanks in advance! (And sorry Ronald, I don't know how else to contact you)

Comments (3)

  1. Ronald Oussoren repo owner

    The easiest way to build standalone application is to py2app for that. There is some fairly minimal documentation about py2app on, but that should be enough to get you going.

    The various pyobjc examples also contain files for py2app.

    BTW. The file you link to is an internal tool of py2app itself and not an example of how to use py2app.

  2. Boris Smus reporter

    Thanks Ronald. I was hoping for an easy one-click "deploy" button in the app, but I guess this is not part of the Xcode 4 PyObjC templates.

  3. Ronald Oussoren repo owner

    It would be nice to have an Xcode template for a PyObjC (or generic Python) application that uses py2app do automatically bundle dependencies, but it is fairly unlikely that I'll have time to work on that anytime soon (and not just because there is almost no documentation on how to create them)

  4. Log in to comment