Browse Source

add explicity wx imports to enable OSX pyinstaller packaging

pull/473/head
Kiehl 5 years ago
committed by Chris
parent
commit
ce9555e3d6
1 changed files with 5 additions and 0 deletions
  1. 5
      gooey/gui/application.py

5
gooey/gui/application.py

@ -3,6 +3,11 @@ Main runner entry point for Gooey.
'''
import wx
# wx.html and wx.xml imports required here to make packaging with
# pyinstaller on OSX possible without manually specifying `hidden_imports`
# in the build.spec
import wx.html
import wx.xml
import wx.richtext # Need to be imported before the wx.App object is created.
import wx.lib.inspection
from gooey.gui.lang import i18n

Loading…
Cancel
Save