Conversation
cc @ccordoba12 and @blink1073 So maybe we should not include the freeimage lib in the package, but have a separate conda package for freeimage and depend on that? |
For conda purposes, I think it makes sense to have libfreeimage be a separate dependency for imageio. https://github.com/conda/conda-recipes/tree/master/freeimage |
I agree with @blink1073, it should managed as a dependency of |
@@ -1,4 +1,4 @@ | |||
"%PYTHON%" setup.py install | |||
"%PYTHON%" setup.py build_with_fi install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this build_with_fi
flag mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It means that the freeimage lib is downloaded and included in the package.
Cool, in that case hold of the merging until we change it back, And we need to make sure that imageio can find freeimage where its installed in the conda env. |
fn: imageio-1.2-linux32.zip [linux32] | ||
url: https://pypi.python.org/packages/source/i/imageio/imageio-1.2-linux32.zip [linux32] | ||
fn: imageio-1.3-linux32.zip [linux32] | ||
url: https://pypi.python.org/packages/source/i/imageio/imageio-1.3-linux32.zip [linux32] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need a source file per platform and arch? i don't get it ;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wait. Now I'm confused. These per-platform source files include the freeimage lib .... it should be enough to either to this or use the build_with_fi
flag.
Or none of the above, really, if anaconda has freeimage :P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, none of the above if Anaconda comes with freeimage as an independent library :-)
Well, maybe we can leave these source files for Windows, but definitely not for Mac and Linux.
When can we |
It depends on Ilan, but right now you can use the recipe mentioned by @blink1073 above to build a conda package for That way you can test if conda-build works correctly in this case (although i don't expect you to have big problems with that :-). |
Ah yes, I can also build it myself :P (It must be getting late...) |
Closing this in favour of a new PR to come. |
New release for imageio. Also changed that the freeimage lib is now packed into the library, so that it won't have to be auto-downloaded on first use.
Any chance that CA can build this conda package? I'd love to say that ppl can do
conda install imageio
to install it.