Problems in py2exe 0.6.6 that should be fixed:
- - When a single file executable is renamed, it does not work any longer. This is because the filename is hardcoded into the exe (to determine sys.path from it). You will get a traceback like this, because even the imports in the boot_script fail:
C:\sample\dist>sample Traceback (most recent call last): File "c:\python23\lib\site-packages\py2exe\boot_common.py", line 69, in ? import linecache ImportError: No module named linecache Traceback (most recent call last): File "<install zipextimporter>", line 1, in ? ImportError: No module named zipextimporter Traceback (most recent call last): File "console.py", line 1, in ? ImportError: No module named os C:\sample\dist>