Are there any alternatives to py2exe?
works great, but how can i set an icon for my exe?
daniels
2009-11-06 18:03:28
You could take a look at the icon option in the setup script.
Reshure
2009-11-06 18:23:29
+11
A:
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;-).
Alex Martelli
2009-11-06 17:39:09
pyInstaller looked like the most robust of those I tried recently (pyInstaller, cx_Freeze, bbfreeze). Additionally to what Alex mentioned, offers a "no-console" option for Windows, correctly includes the modules, well-documented, is installed separately from the Python installation so you can switch between versions if need be.
RedGlyph
2009-11-07 11:49:33
unfortunately no python3 support yet. the one python app i want to generate an exe for i happened to write in python3.1 :P
Matt Joiner
2010-02-16 20:44:35
+2
A:
bbfreeze claims to works on Windows and UNIX, but not on OS X. It doesn't seem to be actively developed anymore, though.
Ville Laurikari
2009-11-06 17:49:34
`bfreeze` and the programs it creates are unfortunately detected as malicious by anti-virus software (Norton in particular). It is a problem for users since you can hardly tell them to turn off such and such feature of their system protection. For the record, I personally hate those experimental anti-virus detection features.
RedGlyph
2009-11-07 11:39:23
bbfreeze appears to have support for OSX on its trunk ("tip") version, though not in a released version. And I haven't tested it myself.
Peter Hansen
2010-03-18 01:25:13
According to virustotal.com the executable that bbfreeze created for me is not being picked up by Norton as a virus. (Of course it could still be detected during runtime due to some "Behavioral Protection" magic.)
Kalmi
2010-04-11 23:03:48