commit 104ea477dee8829e9e3f05bf17c6c29496a42c5d
parent 445ef3c6ac3f9afcb48b977e25415e4429c47d31
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 28 Mar 2018 10:52:58 +0200
fix #4136: revert to extras_require
Diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/setup.py b/setup.py
@@ -44,6 +44,9 @@ setup(
name="Electrum",
version=version.ELECTRUM_VERSION,
install_requires=requirements,
+ extras_require={
+ 'full': requirements_hw + ['pycryptodomex'],
+ },
packages=[
'electrum',
'electrum_gui',
@@ -88,8 +91,3 @@ 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 ]