Here is a simple program, Webview.py:
import wx
import wx.webview
app = wx.App(False)
frame = wx.webview.WebBrowserShell("wxWebKit Test App")
frame.ShowDebugMenu(True)
frame.CentreOnScreen()
frame.Show(True)
app.MainLoop()
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.spec
Here is the spec file that is produced:
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'),
os.path.join(HOMEPATH,'support\\useUnicode.py'), 'Webview.py'],
pathex=['C:\\Users\\George\\Documents\\My Dropbox\\NSBasic
\\Setup - pyInstaller\\Test'])
pyz = PYZ(a.pure)
exe = EXE( pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name=os.path.join('dist', 'Webview.exe'),
debug=False,
strip=False,
upx=True,
console=True )
Here is the output when I run:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "C:\Users\George\Documents\My Dropbox\NSBasic\extensions
\pyInstaller\iu.py", line 436, in importHook
File "C:\Users\George\Documents\My Dropbox\NSBasic\extensions
\pyInstaller\iu.py", line 521, in doimport
File "C:\Users\George\Documents\My Dropbox\NSBasic\Setup -
pyInstaller\Test\build\pyi.win32\Webview\outPYZ1.pyz/wx.webview", line
4, in <module>
File "C:\Users\George\Documents\My Dropbox\NSBasic\extensions
\pyInstaller\iu.py", line 436, in importHook
File "C:\Users\George\Documents\My Dropbox\NSBasic\extensions
\pyInstaller\iu.py", line 495, in doimport
File "C:\Users\George\Documents\My Dropbox\NSBasic\extensions
\pyInstaller\iu.py", line 297, in getmod
File "C:\Users\George\Documents\My Dropbox\NSBasic\extensions
\pyInstaller\archive.py", line 468, in getmod
File "C:\Users\George\Documents\My Dropbox\NSBasic\extensions
\pyInstaller\iu.py", line 109, in getmod
ImportError: DLL load failed: The specified procedure could not be
found.
--
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.