Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Imageio v1.3 #335

Closed
wants to merge 2 commits into from
Closed

Imageio v1.3 #335

wants to merge 2 commits into from

Conversation

almarklein
Copy link
Contributor

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.

@almarklein
Copy link
Contributor Author

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?

@blink1073
Copy link

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

@ccordoba12
Copy link
Contributor

I agree with @blink1073, it should managed as a dependency of imageio

@@ -1,4 +1,4 @@
"%PYTHON%" setup.py install
"%PYTHON%" setup.py build_with_fi install
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@almarklein
Copy link
Contributor Author

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]
Copy link
Contributor

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 ;-)

Copy link
Contributor Author

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

Copy link
Contributor

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.

@almarklein
Copy link
Contributor Author

When can we conda install freeimage? When we do, I can test/make sure that imageio can find the lib. Then do a new release and update this recipe...

@ccordoba12
Copy link
Contributor

It depends on Ilan, but right now you can use the recipe mentioned by @blink1073 above to build a conda package for freeimage on Linux/Mac and then add it as a dependency of imageio.

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 :-).

@almarklein
Copy link
Contributor Author

Ah yes, I can also build it myself :P (It must be getting late...)

@almarklein
Copy link
Contributor Author

Closing this in favour of a new PR to come.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants