1
0
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:
matejcik 2018-05-07 13:04:11 +02:00
parent 6c033bd810
commit 76fea5afc4
3 changed files with 6 additions and 2 deletions

View File

@ -1 +1,3 @@
hidapi >= 0.7.99.post20
rlp >= 0.4.4
ethjsonrpc >= 0.3.0

View File

@ -4,4 +4,3 @@ requests>=2.4.0
click>=6.2
pyblake2>=0.9.3
libusb1>=1.6.4
rlp>=0.6.0

View File

@ -14,7 +14,6 @@ install_requires = [
'requests>=2.4.0',
'click>=6.2',
'pyblake2>=0.9.3',
'rlp>=0.6.0',
'libusb1>=1.6.4',
]
@ -89,6 +88,10 @@ setup(
install_requires=install_requires,
extras_require={
'hidapi': ['hidapi>=0.7.99.post20'],
'ethereum': [
'rlp>=0.4.4',
'ethjsonrpc>=0.3.0',
],
},
python_requires='>=3.3',
include_package_data=True,