mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
build: move ethereum requirements to their own extra
We only need ethereum libraries for `ethereum_sign_tx` in trezorctl, and rlp has caused us dependency problems in the past already. Also we required ethjsonrpc for the same thing but never listed that dependency anywhere. That changes now.
This commit is contained in:
parent
6c033bd810
commit
76fea5afc4
@ -1 +1,3 @@
|
|||||||
hidapi >= 0.7.99.post20
|
hidapi >= 0.7.99.post20
|
||||||
|
rlp >= 0.4.4
|
||||||
|
ethjsonrpc >= 0.3.0
|
||||||
|
@ -4,4 +4,3 @@ requests>=2.4.0
|
|||||||
click>=6.2
|
click>=6.2
|
||||||
pyblake2>=0.9.3
|
pyblake2>=0.9.3
|
||||||
libusb1>=1.6.4
|
libusb1>=1.6.4
|
||||||
rlp>=0.6.0
|
|
||||||
|
5
setup.py
5
setup.py
@ -14,7 +14,6 @@ install_requires = [
|
|||||||
'requests>=2.4.0',
|
'requests>=2.4.0',
|
||||||
'click>=6.2',
|
'click>=6.2',
|
||||||
'pyblake2>=0.9.3',
|
'pyblake2>=0.9.3',
|
||||||
'rlp>=0.6.0',
|
|
||||||
'libusb1>=1.6.4',
|
'libusb1>=1.6.4',
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -89,6 +88,10 @@ setup(
|
|||||||
install_requires=install_requires,
|
install_requires=install_requires,
|
||||||
extras_require={
|
extras_require={
|
||||||
'hidapi': ['hidapi>=0.7.99.post20'],
|
'hidapi': ['hidapi>=0.7.99.post20'],
|
||||||
|
'ethereum': [
|
||||||
|
'rlp>=0.4.4',
|
||||||
|
'ethjsonrpc>=0.3.0',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
python_requires='>=3.3',
|
python_requires='>=3.3',
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
|
Loading…
Reference in New Issue
Block a user