Hey guys, I posted earlier about py2exe not working in general. Now I got it to actually run, but the .exe produced does not work... Any help would be appreciated. Thanks.
I've tried various things to solve this issue, but no luck. When I run my setup.bat file, which looks like this:
python setup.py py2exe --bundle 1
Everything seems to run okay, but the resulting .exe produces a "Windows has encountered an error."
My setup.py looks like this:
from distutils.core import setup import py2exe setup(console=['ReformatterV2.py'])
I've also tried moving my imports from the actual python script to the setup.py, but that didn't help either. I also tried simply running it from the command line without using --bundle 1. Still no luck.
Inside the produced dist directory, there are four files:
tcl (folder) - 7.08 MB ReformatterV2.exe - 23 KB library.zip - 6,921 KB w9xpopen.exe - 49 KB
It seems very strange to me that the produced exe is only 23 KB (my original script was 10KB)... What could I be doing wrong? Any help is appreciated!