mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
Allow for 3-part dependency versions
This commit is contained in:
@@ -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