py2exe 0.5.0 (finally) released
Cousin Stanley
CousinStanley at hotmail.com
Fri Jan 16 17:16:00 EST 2004
| http://starship.python.net/crew/theller/py2exe
Thomas ....
This is my first attempt at running any version of py2exe ....
Using ....
Win98_SE
Python 2.3 Enthought Edition
py2exe 0.50
The samples hello.py and test_wx.py in the simple folder
function as expected when run as python scripts ....
setup.py goes through the motions and creates
the build and dist directories and the following
files are produced in .... /simple/dist ....
hello.exe
library.zip
python23.dll
w9xpopen.exe
wxc.pyd
wxmsw24.dll
_sre.pyd
hello.exe will not run ....
Could not locate script resource:
The following Traceback from setup.py indicates
that unicows.dll seems to be missing ....
python setup.py py2exe > py2exe_simple.txt
Traceback (most recent call last):
File "setup.py", line 34, in ?
console = ["hello.py"],
File ".\distutils\core.py", line 149, in setup
File ".\distutils\dist.py", line 907, in run_commands
File ".\distutils\dist.py", line 927, in run_command
File "K:\PYTHON23\Lib\site-packages\py2exe\build_exe.py", line 197, in run
self.create_binaries(py_files, extensions, dlls)
File "K:\PYTHON23\Lib\site-packages\py2exe\build_exe.py", line 391, in create_
binaries
arcname, target.script)
File "K:\PYTHON23\Lib\site-packages\py2exe\build_exe.py", line 566, in build_e
xecutable
add_resource(unicode(exe_path), script_bytes, u"PYTHONSCRIPT", 1, True)
RuntimeError: this function requires unicows.dll in the Python directory on Win
95/98/Me
I found one version of unicows.dll that was previously installed
with another program, OE-Quote-fix, and stuck it in the Python folder,
but then Python page faulted from setup.py ....
Will a different/current version of unicows.dll
in the Python folder alieviate this problem ????
--
Cousin Stanley
Human Being
Phoenix, Arizona
More information about the Python-list
mailing list