mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-12 12:30:16 +08:00
Fix bug in libimport.
This commit is contained in:
@@ -34,9 +34,9 @@ def _import_opencv_lib(which="cv"):
|
||||
if sys.platform.startswith('linux'):
|
||||
extensions = ['.so', '.so.1']
|
||||
elif sys.platform.startswith("darwin"):
|
||||
extension = ['.dylib']
|
||||
extensions = ['.dylib']
|
||||
else:
|
||||
extension = ['.dll']
|
||||
extensions = ['.dll']
|
||||
library_paths = []
|
||||
|
||||
lib = 'lib' + which
|
||||
|
||||
Reference in New Issue
Block a user