|
@ -32,6 +32,7 @@ if (len(sys.argv) > 1 and (sys.argv[1] == "sdist")) or (platform.system() != 'Wi |
|
|
if os.path.exists('locale/%s/LC_MESSAGES/electrum.mo' % lang): |
|
|
if os.path.exists('locale/%s/LC_MESSAGES/electrum.mo' % lang): |
|
|
data_files.append((os.path.join(usr_share, 'locale/%s/LC_MESSAGES' % lang), ['locale/%s/LC_MESSAGES/electrum.mo' % lang])) |
|
|
data_files.append((os.path.join(usr_share, 'locale/%s/LC_MESSAGES' % lang), ['locale/%s/LC_MESSAGES/electrum.mo' % lang])) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
appdata_dir = util.appdata_dir() |
|
|
appdata_dir = util.appdata_dir() |
|
|
if not os.access(appdata_dir, os.W_OK): |
|
|
if not os.access(appdata_dir, os.W_OK): |
|
|
appdata_dir = os.path.join(usr_share, "electrum") |
|
|
appdata_dir = os.path.join(usr_share, "electrum") |
|
@ -52,6 +53,9 @@ data_files += [ |
|
|
]) |
|
|
]) |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
for lang in os.listdir('data/wordlist'): |
|
|
|
|
|
data_files.append((os.path.join(appdata_dir, 'wordlist'), ['data/wordlist/%s' % lang])) |
|
|
|
|
|
|
|
|
# replace tlslite because of https://github.com/trevp/tlslite/issues/15 |
|
|
# replace tlslite because of https://github.com/trevp/tlslite/issues/15 |
|
|
os.system("pip install http://download.electrum.org/tlslite-0.4.5.tar.gz") |
|
|
os.system("pip install http://download.electrum.org/tlslite-0.4.5.tar.gz") |
|
|
|
|
|
|
|
@ -91,7 +95,6 @@ setup( |
|
|
'electrum.verifier', |
|
|
'electrum.verifier', |
|
|
'electrum.version', |
|
|
'electrum.version', |
|
|
'electrum.wallet', |
|
|
'electrum.wallet', |
|
|
'electrum.wallet_bitkey', |
|
|
|
|
|
'electrum.x509', |
|
|
'electrum.x509', |
|
|
'electrum_gui.gtk', |
|
|
'electrum_gui.gtk', |
|
|
'electrum_gui.qt.__init__', |
|
|
'electrum_gui.qt.__init__', |
|
|