If I delete the Build directory and execute (setup.py):
"out\hello.py.mm.py" py2exe > 1.x 2>&1
The build works, builds the "dist" dir and returns RC=0,
if I repeat the above command it fails with RC=1.
It appears to fail differently if I remove the "2>&1" (stderr
redirection) and says:
Traceback (most recent call last):
\temp\tmpdvcf7r.py", line 55, in ?
File "C:\Program Files\Python.24\Lib\site-
1415, in byte_compile
print "skipping byte-compilation of %s to %s" % \ IOError: [Errno 9] Bad file descriptor
close failed: [Errno 9] Bad file descriptor
error: command '"C:\Program Files\Python.24
\python.exe"' failed with exit status
I am a python begiiner and partly to learn python am
building py2exe into a Py2MSI" (Windows Installer) step.
Log in to post a comment.