mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-06-29 00:57:45 +02:00
Use more generic and compatible Exception
This commit is contained in:
parent
2c766d7bf2
commit
491dc29b41
2
setup.py
2
setup.py
|
@ -18,7 +18,7 @@ def check_setuptools_features():
|
|||
import pkg_resources
|
||||
try:
|
||||
list(pkg_resources.parse_requirements('foo~=1.0'))
|
||||
except pkg_resources.RequirementParseError:
|
||||
except ValueError:
|
||||
exit('Your Python distribution comes with an incompatible version '
|
||||
'of `setuptools`. Please run:\n'
|
||||
' $ pip install --update setuptools\n'
|
||||
|
|
Loading…
Reference in New Issue
Block a user