mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
setup: add dependency for libusb1
This commit is contained in:
parent
646338c414
commit
1a046b524c
@ -1,7 +1,7 @@
|
|||||||
ecdsa>=0.9
|
ecdsa>=0.9
|
||||||
mnemonic>=0.17
|
mnemonic>=0.17
|
||||||
hidapi>=0.7.99.post20
|
|
||||||
requests>=2.4.0
|
requests>=2.4.0
|
||||||
click>=6.2
|
click>=6.2
|
||||||
pyblake2>=0.9.3
|
pyblake2>=0.9.3
|
||||||
|
hidapi>=0.7.99.post20
|
||||||
libusb1>=1.6.4
|
libusb1>=1.6.4
|
||||||
|
7
setup.py
7
setup.py
@ -2,9 +2,9 @@
|
|||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
install_requires = [
|
install_requires = [
|
||||||
|
'setuptools>=19.0',
|
||||||
'ecdsa>=0.9',
|
'ecdsa>=0.9',
|
||||||
'mnemonic>=0.17',
|
'mnemonic>=0.17',
|
||||||
'setuptools>=19.0',
|
|
||||||
'requests>=2.4.0',
|
'requests>=2.4.0',
|
||||||
'click>=6.2',
|
'click>=6.2',
|
||||||
'pyblake2>=0.9.3',
|
'pyblake2>=0.9.3',
|
||||||
@ -16,6 +16,11 @@ if '--disable-hidapi' in sys.argv:
|
|||||||
else:
|
else:
|
||||||
install_requires.append('hidapi>=0.7.99.post20')
|
install_requires.append('hidapi>=0.7.99.post20')
|
||||||
|
|
||||||
|
if '--disable-libusb' in sys.argv:
|
||||||
|
sys.argv.remove('--disable-libusb')
|
||||||
|
else:
|
||||||
|
install_requires.append('libusb1>=1.6.4')
|
||||||
|
|
||||||
from trezorlib import __version__ as VERSION
|
from trezorlib import __version__ as VERSION
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
|
Loading…
Reference in New Issue
Block a user