mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 12:30:07 +00:00
include lnwire csv files in binaries (follow-up #6050)
This commit is contained in:
parent
f13f46c555
commit
f412420892
4 changed files with 4 additions and 2 deletions
|
@ -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'),
|
||||
|
|
|
@ -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'),
|
||||
|
|
|
@ -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
|
||||
|
|
2
setup.py
2
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',
|
||||
|
|
Loading…
Add table
Reference in a new issue