I think we agree that in order to make this package work "out of the box" on all OS's, we need to somehow ship the FreeImage binary libs. At least on Windows and Mac. I'll start with writing down a kindof summary of the discussion we've had so far, and some random thoughts.
Zach has hosted the binaries here: https://github.com/zachrahan/freeimage-sharedlib
(On a side note, I suggest to put them somewhere on http (not https), because some users may have build Python without ssl (I found out that I did) ).
Zach also wrote some code to download these libs on the fly. The question is then: when do we download them. And what do we do when there is no internet connection at that time. Downloading at runtime is definetly a bad idea.
Zach: "The binaries aren't *that* big; one could just ship them all with the python source. Or one could make n different downloads for the different platforms. Not sure what's better / the more "pythonic" solution."
The binaries are about 2.5, 3.3 and 6.4 MB in size for win32, win64 and Mac, respectively. If we zip them, we get a total of 4MB. If we ship them all in one bundle, we could also zip the libs individually and only unzip the one that's valid for the users OS, but I don't think that's worth the effort.
Since we want to update the binaries as new versions of FreeImage come out, it's probably not good practice to put them in version control :) But we could include them in the sdist zip/tar files for distribution. That means the binaries are downloaded at package-time. I that even a real word? I mean at the moment someone builds the zipfile for the new release.
Comments are welcome.
What do you mean by "freeimage"? Do you mean the FreeImage library, or do you mean a Python wrapper of it?
--To view this discussion on the web visit https://groups.google.com/d/msg/imageio/-/Q-j6xdHeh7cJ.
You received this message because you are subscribed to the Google Groups "imageio" group.
To post to this group, send email to ima...@googlegroups.com.
To unsubscribe from this group, send email to imageio+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/imageio?hl=en.