Skip to content

Commit

Permalink
Fix pyusb dependency
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
c1728p9 committed Aug 17, 2015
1 parent e013593 commit b560876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit b560876

Please sign in to comment.