Browse Source

include lnwire csv files in binaries (follow-up #6050)

hard-fail-on-bad-server-string
SomberNight 5 years ago
parent
commit
f412420892
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 1
      contrib/build-wine/deterministic.spec
  2. 1
      contrib/osx/osx.spec
  3. 2
      electrum/gui/kivy/tools/buildozer.spec
  4. 2
      setup.py

1
contrib/build-wine/deterministic.spec

@ -35,6 +35,7 @@ binaries += [('C:/tmp/libusb-1.0.dll', '.')]
datas = [ datas = [
(home+'electrum/*.json', 'electrum'), (home+'electrum/*.json', 'electrum'),
(home+'electrum/lnwire/*.csv', 'electrum/lnwire'),
(home+'electrum/wordlist/english.txt', 'electrum/wordlist'), (home+'electrum/wordlist/english.txt', 'electrum/wordlist'),
(home+'electrum/locale', 'electrum/locale'), (home+'electrum/locale', 'electrum/locale'),
(home+'electrum/plugins', 'electrum/plugins'), (home+'electrum/plugins', 'electrum/plugins'),

1
contrib/osx/osx.spec

@ -69,6 +69,7 @@ hiddenimports += ['PyQt5.QtPrintSupport'] # needed by Revealer
datas = [ datas = [
(electrum + PYPKG + '/*.json', PYPKG), (electrum + PYPKG + '/*.json', PYPKG),
(electrum + PYPKG + '/lnwire/*.csv', PYPKG + '/lnwire'),
(electrum + PYPKG + '/wordlist/english.txt', PYPKG + '/wordlist'), (electrum + PYPKG + '/wordlist/english.txt', PYPKG + '/wordlist'),
(electrum + PYPKG + '/locale', PYPKG + '/locale'), (electrum + PYPKG + '/locale', PYPKG + '/locale'),
(electrum + PYPKG + '/plugins', PYPKG + '/plugins'), (electrum + PYPKG + '/plugins', PYPKG + '/plugins'),

2
electrum/gui/kivy/tools/buildozer.spec

@ -13,7 +13,7 @@ package.domain = org.electrum
source.dir = . source.dir = .
# (list) Source files to include (let empty to include all the files) # (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) # (list) Source files to exclude (let empty to not exclude anything)
source.exclude_exts = spec source.exclude_exts = spec

2
setup.py

@ -78,7 +78,7 @@ setup(
'electrum': 'electrum' 'electrum': 'electrum'
}, },
package_data={ package_data={
'': ['*.txt', '*.json', '*.ttf', '*.otf'], '': ['*.txt', '*.json', '*.ttf', '*.otf', '*.csv'],
'electrum': [ 'electrum': [
'wordlist/*.txt', 'wordlist/*.txt',
'locale/*/LC_MESSAGES/electrum.mo', 'locale/*/LC_MESSAGES/electrum.mo',

Loading…
Cancel
Save