ghenne píše v Po 06. 09. 2010 v 08:19 -0700:
>
> Here is how I run pyInstaller:
>
> "c:\program files\python 2.6\python.exe" ..\..\extensions\pyInstaller
> \Makespec.py --onefile --name=Webview Webview.py
> "c:\program files\python 2.6\python.exe" ..\..\extensions\pyInstaller
> \Build.py Webview.spe
I run pyinstaller:
python Configure.py
python Makespec.py --onefile --name=Webview ..\wx_example\Webview.py
python Build.py Webview\Webview.spec
and I'm getting this output during build. However without --onefile
(--onedir mode) binary is created and works as expected.
-----
Webview\build\pyi.win32\Webview\outAnalysis0.toc no change!
checking PYZ
checking PKG
building because outPKG3.toc missing or bad
building PKG outPKG3.pkg
Cannot find ('wxwebkit.dll', 'bincache01\wxwebkit.dll', 1, 'b')
Traceback (most recent call last):
File "Build.py", line 1368, in <module>
main(args[0], configfilename=opts.configfile)
File "Build.py", line 1346, in main
build(specfile)
File "Build.py", line 1306, in build
execfile(spec)
File "Webview\Webview.spec", line 14, in <module>
console=True )
File "Build.py", line 795, in __init__
strip_binaries=self.strip, upx_binaries=self.upx, crypt=self.crypt)
File "Build.py", line 687, in __init__
self.__postinit__()
File "Build.py", line 258, in __postinit__
self.assemble()
File "Build.py", line 748, in assemble
archive.build(self.name, mytoc)
File "Z:\tmp\pyinstaller-trunk\archive.py", line 229, in build
self.add(tocentry) # the guts of the archive
File "Z:\tmp\pyinstaller-trunk\carchive.py", line 235, in add
s = open(pathnm, 'rb').read()
IOError: [Errno 22] Invalid argument
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.