From b56087618b6af50942ece0284f446716703648a1 Mon Sep 17 00:00:00 2001 From: Russ Butler Date: Mon, 17 Aug 2015 12:19:32 -0500 Subject: [PATCH] Fix pyusb dependency Installation of pyOCD fails at the time of this patch on platforms that use pyusb, like Linux. This is because the only released versions of pyusb are alpha or beta, which pip does not install by default. This patch sets the minimum version to the latest beta so pyusb can be installed. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5ef0045b7..f6e3495d3 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ install_requires = ['intelhex'] if sys.platform.startswith('linux'): install_requires.extend([ - 'pyusb', + 'pyusb>=1.0.0b2', ]) elif sys.platform.startswith('win'): install_requires.extend([