Browse Source

update pyinstaller spec file

283
ThomasV 10 years ago
parent
commit
7daccf143f
  1. 9
      contrib/build-wine/deterministic.spec

9
contrib/build-wine/deterministic.spec

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

Loading…
Cancel
Save