Status

As of PyInstaller 1.4, Mac OS X is experimentally supported. There have been reports of users successfully shipping their applications under Mac OSX.

There are surely some bugs and missing features, but you are encouraged to try it and report your experiences on the mailing list. Also search our tickets because there might be patches floating around that can help you out with your showstoppers.

Creating bundles

By default, PyInstaller creates UNIX executables under Mac OSX. To create an application bundle, you will need to manually add the following at the bottom of your .spec file:

  • One-file mode:
    import sys
    if sys.platform.startswith("darwin"):
        app = BUNDLE(exe,
                     name=os.path.join('dist', 'NAME.app'),
                     version=version)
    
  • One-dir mode:
    Support coming soon (see ticket #155)