update pyinstaller spec file

This commit is contained in:
ThomasV 2015-02-21 10:53:54 +01:00
parent 56dc9f7f80
commit 7daccf143f
1 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,7 @@ a = Analysis(['electrum', 'gui/qt/main_window.py', 'gui/qt/lite_window.py', 'gui
'lib/bitcoin.py'
],
hiddenimports=["lib","gui"],
pathex=['lib:gui:plugins'],
pathex=['lib','gui','plugins','packages'],
hookspath=None)
##### include mydir in distribution #######
@ -29,11 +29,8 @@ def extra_datas(mydir):
# append dirs
# Theme data
a.datas += extra_datas('data')
# Localization
a.datas += extra_datas('locale')
# cacert.pem
a.datas += [ ('requests/cacert.pem', 'packages/requests/cacert.pem', 'DATA') ]
# Py folders that are needed because of the magic import finding
a.datas += extra_datas('gui')