t__init__.py - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
t__init__.py (986B)
---
1 import sys
2 import os
3
4 # these are ~duplicated from run_electrum:
5 is_bundle = getattr(sys, 'frozen', False)
6 is_local = not is_bundle and os.path.exists(os.path.join(os.path.dirname(os.path.dirname(__file__)), "electrum.desktop"))
7
8 # when running from source, on Windows, also search for DLLs in inner 'electrum' folder
9 if is_local and os.name == 'nt':
10 if hasattr(os, 'add_dll_directory'): # requires python 3.8+
11 os.add_dll_directory(os.path.dirname(__file__))
12
13
14 from .version import ELECTRUM_VERSION
15 from .util import format_satoshis
16 from .wallet import Wallet
17 from .storage import WalletStorage
18 from .coinchooser import COIN_CHOOSERS
19 from .network import Network, pick_random_server
20 from .interface import Interface
21 from .simple_config import SimpleConfig
22 from . import bitcoin
23 from . import transaction
24 from . import daemon
25 from .transaction import Transaction
26 from .plugin import BasePlugin
27 from .commands import Commands, known_commands
28
29
30 __version__ = ELECTRUM_VERSION