mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
Merge pull request #30 from samueltardieu/installation-fixes
Installation fixes
This commit is contained in:
commit
af3fe1722b
4 changed files with 5 additions and 8 deletions
5
electrum
5
electrum
|
@ -37,12 +37,11 @@ except ImportError:
|
||||||
sys.exit("Error: AES does not seem to be installed. Try 'sudo pip install slowaes'")
|
sys.exit("Error: AES does not seem to be installed. Try 'sudo pip install slowaes'")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from lib import Wallet, WalletSynchronizer, format_satoshis, mnemonic, prompt_password
|
from lib import Wallet, WalletSynchronizer, format_satoshis, mnemonic, prompt_password, SimpleConfig
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from electrum import Wallet, WalletSynchronizer, format_satoshis, mnemonic, prompt_password
|
from electrum import Wallet, WalletSynchronizer, format_satoshis, mnemonic, prompt_password, SimpleConfig
|
||||||
|
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
from lib import SimpleConfig
|
|
||||||
|
|
||||||
known_commands = {
|
known_commands = {
|
||||||
'help':'Prints this help',
|
'help':'Prints this help',
|
||||||
|
|
|
@ -18,10 +18,7 @@ import webbrowser
|
||||||
import history_widget
|
import history_widget
|
||||||
import util
|
import util
|
||||||
|
|
||||||
try:
|
import gui_qt
|
||||||
import lib.gui_qt as gui_qt
|
|
||||||
except ImportError:
|
|
||||||
import electrum.gui_qt as gui_qt
|
|
||||||
|
|
||||||
bitcoin = lambda v: v * 100000000
|
bitcoin = lambda v: v * 100000000
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
from lib.util import user_dir
|
from util import user_dir
|
||||||
|
|
||||||
class SimpleConfig:
|
class SimpleConfig:
|
||||||
default_options = {"gui": "lite"}
|
default_options = {"gui": "lite"}
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -54,6 +54,7 @@ setup(name = "Electrum",
|
||||||
'electrum.pyqrnative',
|
'electrum.pyqrnative',
|
||||||
'electrum.qrscanner',
|
'electrum.qrscanner',
|
||||||
'electrum.history_widget',
|
'electrum.history_widget',
|
||||||
|
'electrum.simple_config',
|
||||||
'electrum.bmp',
|
'electrum.bmp',
|
||||||
'electrum.msqr',
|
'electrum.msqr',
|
||||||
'electrum.util',
|
'electrum.util',
|
||||||
|
|
Loading…
Add table
Reference in a new issue