Browse Source

fix #4136: revert to extras_require

3.2.x
ThomasV 7 years ago
parent
commit
104ea477de
  1. 8
      setup.py

8
setup.py

@ -44,6 +44,9 @@ setup(
name="Electrum", name="Electrum",
version=version.ELECTRUM_VERSION, version=version.ELECTRUM_VERSION,
install_requires=requirements, install_requires=requirements,
extras_require={
'full': requirements_hw + ['pycryptodomex'],
},
packages=[ packages=[
'electrum', 'electrum',
'electrum_gui', 'electrum_gui',
@ -88,8 +91,3 @@ setup(
url="https://electrum.org", url="https://electrum.org",
long_description="""Lightweight Bitcoin Wallet""" 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 ]

Loading…
Cancel
Save