electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f38ca73dae307441e2a90dbf23bff184e8a99b39
parent 865ab43145382aaa081640ac86a32d65dce989e6
Author: ThomasV <thomasv@electrum.org>
Date:   Thu,  8 Mar 2018 11:52:01 +0100

setup.py: install optional modules. fixes #3927

Diffstat:
Msetup.py | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/setup.py b/setup.py @@ -42,9 +42,6 @@ setup( name="Electrum", version=version.ELECTRUM_VERSION, install_requires=requirements, - extras_require={ - 'hardware': requirements_hw, - }, packages=[ 'electrum', 'electrum_gui', @@ -89,3 +86,8 @@ setup( url="https://electrum.org", long_description="""Lightweight Bitcoin Wallet""" ) + +# Optional modules (not required to run Electrum) +import pip +opt_modules = requirements_hw + ['pycryptodomex'] +[ pip.main(['install', m]) for m in opt_modules ]