mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-26 13:37:17 +08:00
Allow for 3-part dependency versions
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user