1
0

fix: qt icons not available when installed as python package

follow-up #5053
This commit is contained in:
SomberNight
2019-02-01 23:32:24 +01:00
parent 7ea01e9e91
commit 4fa87d8595
4 changed files with 9 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
usr_share = os.path.expanduser('~/.local/share')
data_files += [
(os.path.join(usr_share, 'applications/'), ['electrum.desktop']),
(os.path.join(usr_share, icons_dirname), ['icons/electrum.png'])
(os.path.join(usr_share, icons_dirname), ['icons/electrum.png']),
]
extras_require = {
@@ -79,6 +79,9 @@ setup(
'wordlist/*.txt',
'locale/*/LC_MESSAGES/electrum.mo',
],
'electrum.gui': [
'icons/*',
],
},
scripts=['electrum/electrum'],
data_files=data_files,