0

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 modules specified in .xrc files and I am wondering if we can utilize hidden imports feature or other alternatives. Any ideas?

Drake Guan
  • 14,514
  • 15
  • 67
  • 94

1 Answers1

0

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

Mike Driscoll
  • 32,629
  • 8
  • 45
  • 88