Allow for 3-part dependency versions

This commit is contained in:
Steven Silvester
2014-10-04 22:33:44 -05:00
parent 92c28f97a1
commit 1ce325008a
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
cython>=0.19
matplotlib>=1.0
cython>=0.19.2
matplotlib>=1.1
numpy>=1.6
scipy>=0.9
six>=1.3
+1 -2
View File
@@ -117,9 +117,8 @@ def check_requirements():
dep_error = True
if dep_error:
print('***********', package_version)
raise ImportError('You need `%s` version %d.%d or later.' \
% ((package_name, ) + min_version))
% ((package_name, ) + min_version[:2]))
if __name__ == "__main__":