commit f412420892f581768bad357d080acae9594d9a4f
parent f13f46c555b979b265c7da9b6e340b6342f9e4b0
Author: SomberNight <somber.night@protonmail.com>
Date: Sat, 4 Apr 2020 01:40:05 +0200
include lnwire csv files in binaries (follow-up #6050)
Diffstat:
4 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/contrib/build-wine/deterministic.spec b/contrib/build-wine/deterministic.spec
@@ -35,6 +35,7 @@ binaries += [('C:/tmp/libusb-1.0.dll', '.')]
datas = [
(home+'electrum/*.json', 'electrum'),
+ (home+'electrum/lnwire/*.csv', 'electrum/lnwire'),
(home+'electrum/wordlist/english.txt', 'electrum/wordlist'),
(home+'electrum/locale', 'electrum/locale'),
(home+'electrum/plugins', 'electrum/plugins'),
diff --git a/contrib/osx/osx.spec b/contrib/osx/osx.spec
@@ -69,6 +69,7 @@ hiddenimports += ['PyQt5.QtPrintSupport'] # needed by Revealer
datas = [
(electrum + PYPKG + '/*.json', PYPKG),
+ (electrum + PYPKG + '/lnwire/*.csv', PYPKG + '/lnwire'),
(electrum + PYPKG + '/wordlist/english.txt', PYPKG + '/wordlist'),
(electrum + PYPKG + '/locale', PYPKG + '/locale'),
(electrum + PYPKG + '/plugins', PYPKG + '/plugins'),
diff --git a/electrum/gui/kivy/tools/buildozer.spec b/electrum/gui/kivy/tools/buildozer.spec
@@ -13,7 +13,7 @@ package.domain = org.electrum
source.dir = .
# (list) Source files to include (let empty to include all the files)
-source.include_exts = py,png,jpg,kv,atlas,ttf,txt,gif,pem,mo,vs,fs,json
+source.include_exts = py,png,jpg,kv,atlas,ttf,txt,gif,pem,mo,vs,fs,json,csv
# (list) Source files to exclude (let empty to not exclude anything)
source.exclude_exts = spec
diff --git a/setup.py b/setup.py
@@ -78,7 +78,7 @@ setup(
'electrum': 'electrum'
},
package_data={
- '': ['*.txt', '*.json', '*.ttf', '*.otf'],
+ '': ['*.txt', '*.json', '*.ttf', '*.otf', '*.csv'],
'electrum': [
'wordlist/*.txt',
'locale/*/LC_MESSAGES/electrum.mo',