1

Is py2exe able to do this? I'm of course implying a single filename.exe without any dependency folders or other dlls.

Edit: compiling the files to .exe (py2exe) and packing dlls in to a setup file (with inno) is quite different, since there is an extraction involved.

  • For simple, light programs, i think so. Have you tried it? – aIKid Dec 06 '13 at 11:25
  • There is wxPython involved; so my chances are pretty low, I guess. My previous attempts have always had a library.zip for .pyc modules and some dlls. –  Dec 06 '13 at 11:32
  • I used PyInstaller, maybe you can try that, It's easy to use. – realli Dec 06 '13 at 11:52
  • 1
    cx_freeze, bbfreeze and PyInstaller all produce the same results. –  Dec 06 '13 at 12:38
  • Check out this this answer: http://stackoverflow.com/questions/12339671/how-to-compile-python-script-to-binary-executable – Raydel Miranda Dec 06 '13 at 18:21

1 Answers1

0

Found it! (I overlooked it)

PyInstaller could do the job like this:

C:\python pyintaller.py --onefile -w guiscript.py

(-w flag is the 'windowed' mode for hiding console)