Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe for itk #3263

Merged
merged 1 commit into from
Jul 15, 2017
Merged

Add recipe for itk #3263

merged 1 commit into from
Jul 15, 2017

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Jul 13, 2017

This re-uses the PyPI packages. The infrastructure is based off the tensorflow
conda recipe.

Currently a monolithic package for "itk" in created. In the future, it is
possible to splite it into an itk metapackage and multiple dependent packages,
itk-core, itk-io, itk-segmentation, etc.

Co-authored-by: Eric Dill thedizzle@gmail.com

CC: @ericdill @jjhelmus @blowekamp @msarahan

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/itk) and found it was in an excellent condition.

@thewtex
Copy link
Member Author

thewtex commented Jul 13, 2017

Todos:

  • Develop / test ``bld.bat` for Windows
  • Rename current itk package to libitk

@@ -0,0 +1,2 @@
%PYTHON% -m pip install --no-deps https://pypi.org/packages/cp35/t/tensorflow/tensorflow-%PKG_VERSION%-cp35-cp35m-win_amd64.whl
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thewtex I think you need to do the same thing here that we did for build.sh. But I have no idea how to do loops in windows batch scripts 🤷‍♂️

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will push up the addition in the next version :-) 🎉


about:
home: http://www.itk.org/
license: Apache 2.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the license file bundled with the wheel on pypi? If so you can include a "license_file" key here in the about section with the path to the license file.

about:
  license_file: LICENSE
  ...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. A quick search, it looks like it does not get packed, though.

about:
home: http://www.itk.org/
license: Apache 2.0
summary: ITK is an open-source toolkit for multidimensional image analysis
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might want to include

about:
  doc_url: https://itk.org/ITK/help/documentation.html
  dev_url: https://github.com/InsightSoftwareConsortium/ITK

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Excellent, will do.

This re-uses the PyPI packages that wrap the Insight Toolkit (ITK). The
infrastructure is based off the tensorflow conda recipe.

Currently a monolithic package for "itk" in created. In the future, it is
possible to splite it into an itk metapackage and multiple dependent packages,
itk-core, itk-io, itk-segmentation, etc.

Co-authored-by: Eric Dill <thedizzle@gmail.com>
@thewtex
Copy link
Member Author

thewtex commented Jul 14, 2017

@ericdill Thanks for the great review! 🥇

Locally built and testing with miniconda3 / Python 3.6 on Linux / macOS / Windows.

@thewtex thewtex changed the title WIP: Add ITK Python package Add recipe for itk Jul 14, 2017
@jjhelmus
Copy link
Contributor

The Mac OS X build is failing only because rustc is being built. All three itk builds succeed. I don't see any reason why this should be a blocker for merging since it is unrelated to the current recipe.

@jjhelmus jjhelmus merged commit 79d0591 into conda-forge:master Jul 15, 2017
@jjhelmus
Copy link
Contributor

Shoot, this is probably going to cause issues because of the existing itk-feedstock, conda-forge/itk-feedstock#8. Sorry, I'm catching up with my emails in reverse order and this one came first. Ping me if there is anything I can do to help fix this.

@thewtex thewtex deleted the itk branch July 15, 2017 23:36
@thewtex
Copy link
Member Author

thewtex commented Jul 15, 2017

@jjhelmus Regardless, for moving it forward. Could the the conda-forge/itk-feedstock repository please be renamed to conda-forge/libitk-feedstock?

@jjhelmus
Copy link
Contributor

Renamed

@thewtex
Copy link
Member Author

thewtex commented Jul 17, 2017

Thanks!

Should we re-merge this branch to re-populate the itk-feedstock repository, or does in need to be created manually?

@thewtex thewtex mentioned this pull request Jul 18, 2017
@thewtex thewtex mentioned this pull request Sep 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants