Are there any alternatives to py2exe?

Question:

Are there any alternatives to py2exe?

Asked By: daniels

||

Answers:

cx_Freeze is cross-platform and does the same, or you could use py2app, which works on mac only.

Answered By: Reshure

pyInstaller is cross-platform and very powerful, with many third-party packages (matplotlib, numpy, PyQT4, …) specially supported “out of the box”, support for eggs, code-signing on Windows (and a couple other Windows-only goodies, optional binary packing… the works!-) The one big issue: the last “released” version, 1.3, is ages-old — you absolutely must install the SVN trunk version, svn co http://svn.pyinstaller.org/trunk pyinstaller (or the 1.4 pre-release, but I haven’t tested that one). A fair summary of its capabilities as of 6 months ago is here (in English, despite the Italian URL;-).

Answered By: Alex Martelli

bbfreeze claims to works on Windows and UNIX, but not on OS X. It doesn’t seem to be actively developed anymore, though.

Answered By: Ville Laurikari

Here’s a list of them.

  1. Py2exe
  2. PyInstaller
  3. cx_Freeze
  4. bbfreeze
  5. py2app

You might also consider Nuitka, which compiles python to native code.

Answered By: ʇsәɹoɈ
Categories: questions Tags: ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.