Skip to content

Commit

Permalink
Added hidden-import to windows standalone building script.
Browse files Browse the repository at this point in the history
  • Loading branch information
belangeo committed May 9, 2017
1 parent 9c3d886 commit 122cfec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/Build_routine_Win32.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import os

os.system('pyinstaller --clean -F -c --icon=Resources\Cecilia5.ico "Cecilia5.py"')
flags = "--clean -F -c"
hidden = "--hidden-import wx.adv --hidden-import wx.html --hidden-import wx.xml"
icon = "--icon=Resources\Cecilia5.ico"
os.system('pyinstaller %s %s %s "Cecilia5.py"' % (flags, hidden, icon))

os.system("git checkout-index -a -f --prefix=Cecilia5_Win/")
os.system("copy dist\Cecilia5.exe Cecilia5_Win /Y")
Expand Down

0 comments on commit 122cfec

Please sign in to comment.