mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
BUG: Python 3 compatibility fixes by Christoph Gohlke.
This commit is contained in:
@@ -36,7 +36,7 @@ def register_api(lib,api):
|
||||
|
||||
_FI = None
|
||||
for d in lib_dirs:
|
||||
for libname in ('libfreeimage', 'libFreeImage'):
|
||||
for libname in ('FreeImage.dll', 'libfreeimage', 'libFreeImage'):
|
||||
try:
|
||||
_FI = numpy.ctypeslib.load_library(libname, d)
|
||||
except OSError:
|
||||
|
||||
Reference in New Issue
Block a user