1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00

build: require typing module for python < 3.4

This commit is contained in:
matejcik 2018-05-09 17:43:41 +02:00
parent e0d850df7d
commit a289d16838
2 changed files with 3 additions and 0 deletions

View File

@ -4,3 +4,5 @@ requests>=2.4.0
click>=6.2
pyblake2>=0.9.3
libusb1>=1.6.4
pip>=6
typing>=3.0.0; python_version < '3.5'

View File

@ -87,6 +87,7 @@ setup(
scripts=['trezorctl'],
install_requires=install_requires,
extras_require={
':python_version < "3.5"': ['typing>=3.0.0'],
'hidapi': ['hidapi>=0.7.99.post20'],
'ethereum': [
'rlp>=0.4.4',