mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
setup.py: install optional modules. fixes #3927
This commit is contained in:
parent
865ab43145
commit
f38ca73dae
1 changed files with 5 additions and 3 deletions
8
setup.py
8
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 ]
|
||||
|
|
Loading…
Add table
Reference in a new issue