diff --git a/requirements-optional.txt b/requirements-optional.txt index 94276761f0..a938405673 100644 --- a/requirements-optional.txt +++ b/requirements-optional.txt @@ -1 +1,3 @@ hidapi >= 0.7.99.post20 +rlp >= 0.4.4 +ethjsonrpc >= 0.3.0 diff --git a/requirements.txt b/requirements.txt index 7f09fe18c5..7214f4cabf 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,3 @@ requests>=2.4.0 click>=6.2 pyblake2>=0.9.3 libusb1>=1.6.4 -rlp>=0.6.0 diff --git a/setup.py b/setup.py index 41bc923756..47cf416371 100755 --- a/setup.py +++ b/setup.py @@ -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,