Stand-Alone Python Executable Skeletons

Chris Rebert clp2 at rebertia.com
Wed Feb 15 17:55:53 EST 2012


On Wed, Feb 15, 2012 at 2:43 PM, Calvin Spealman <ironfroggy at gmail.com> wrote:
> I've recently been looking into different options to package python
> code into stand-alone executables, with tools like Py2EXE and
> PyInstaller, but I'm left feeling a little lost. Documentation seems
> sparse on all of them, the setups a little unusual to me. It feels
> like they could be a lot simpler, or that I could put in some
> preliminary work to make it easier for my needs in the long run. I'm
> hoping someone can help me pick the best option.
>
> What I would love to do (or know if it is possible) is have a set of
> executables, for Linux, Windows, and OS X, with a Zip archive appended
> to the end of them. I know the zip archive at the end of an executable
> works with EXE and ELF binaries, but does it work for whatever OSX
> uses (I have no mac machines, currently)?

OS X has application bundles:
http://en.wikipedia.org/wiki/Application_bundle

py2app can generate them:
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html

Cheers,
Chris



More information about the Python-list mailing list