FreeImage binaries
Hey all, Some conversation on the pythonvision list (about a "simple python image IO library") has suggested to me that perhaps we should consider distributing FreeImage binaries either with skimage, or as a simple add-on package. For this we'd want an OS X dylib that's at least 32/64-bit, if not a four-way (intel/ppc 32/64). This should be pretty easy for me to make. We'd also want standalone 32- and 64-bit windows DLLs. And should we have anything for linux, or do we assume that those people can get FreeImage compiled manually or via a package manager easily enough? I could just package these up as "data" in a python module, and then point ctypes at the right lib based on run-time checks. Maybe silly to distribute extra binaries, but that might be the user-friendliest solution? Other feedback welcome of course. Zach
Hi Zach On Tue, Feb 7, 2012 at 8:44 AM, Zachary Pincus <zachary.pincus@yale.edu> wrote:
For this we'd want an OS X dylib that's at least 32/64-bit, if not a four-way (intel/ppc 32/64). This should be pretty easy for me to make. We'd also want standalone 32- and 64-bit windows DLLs. And should we have anything for linux, or do we assume that those people can get FreeImage compiled manually or via a package manager easily enough?
I could just package these up as "data" in a python module, and then point ctypes at the right lib based on run-time checks. Maybe silly to distribute extra binaries, but that might be the user-friendliest solution? Other feedback welcome of course.
I think distributing these is a good idea; but I'm a bit hesitant to include the binaries in the source repo. How about we modify the bdist command to fetch these binaries from GitHub, and then store them in their own repo? Stéfan
participants (2)
-
Stéfan van der Walt
-
Zachary Pincus