开发者

How to make PyInstaller work on wxPython using 2 stage creation with XRC?

Everyone suggests switch from py2exe to PyInstaller for making a standalone executable from Python scripts. Our first trial is to make a wxPython application which makes usage of lots of 2 stage creation with XRC. It seems the building process of PyInstaller doesn't include those mo开发者_如何转开发dules specified in .xrc files and I am wondering if we can utilize hidden imports feature or other alternatives. Any ideas?


You might find this helpful: http://www.blog.pythonlibrary.org/2010/08/10/a-pyinstaller-tutorial-build-a-binary-series/

PyInstaller's documentation also explains how to include and exclude stuff:

http://www.pyinstaller.org/export/latest/tags/1.4/doc/Manual.html?format=raw#create-a-spec-file-for-your-project

My guess is you need to explicitly include wx.xrc

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜