update pyinstaller spec file
This commit is contained in:
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user