BUG: Python 3 compatibility fixes by Christoph Gohlke.

This commit is contained in:
Stefan van der Walt
2011-03-14 00:27:11 +02:00
parent b47ae98ffb
commit 4760fc3dd4
5 changed files with 21 additions and 11 deletions
@@ -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: