norwegianblue icon indicating copy to clipboard operation
norwegianblue copied to clipboard

Consider packaging and distribution on conda-forge

Open matthewfeickert opened this issue 6 months ago • 2 comments
trafficstars

In addition to publishing distributions on PyPI, it would be very nice to also distribute on conda-forge. As norwegianblue is a pure-Python package that would be technically easy as all of norwegianblue's dependencies are already packaged on conda-forge.

It would basically be just:

  • Forking https://github.com/conda-forge/staged-recipes
  • Making a new branch
  • Installing Pixi
  • Running (at the top level of the staged-recipes repo)
pixi run pypi norwegianblue
  • Amending to also add dominate>=2.1.5 for pytablewriter[html]

https://github.com/hugovk/norwegianblue/blob/73df98b741f7990f706a63818fb76de6bd5944f0/pyproject.toml#L42

as conda packages don't have the concept of extras

  • Submitting the results in a PR

Happy to help answer questions if you have any. 👍

In addition to pipx, this would allow people to be able to install norwegianblue globally as CLI utility with Pixi

pixi global install norwegianblue

matthewfeickert avatar May 18 '25 05:05 matthewfeickert

Thanks for the suggestion. I'd rather not maintain it myself, but happy if others wish to do so 👍

hugovk avatar May 18 '25 10:05 hugovk

@hugovk sounds good. 👍 Just to double check, do you want to be listed as on the maintainer list just so that you can still have optional control over distributions of your software even if you don't touch anything? Or would you prefer to not be associated at all? Either is fine, just want to make sure that project creators always have the option to control their software.

Also, once I get a conda-forge feedstock up, would you be open to a PR to add use instructions from conda-forge? Or do you prefer to keep the README limited to distributions you control (i.e. PyPI)?

(Apologies for any typos or strange sentences. Currently in transit.)

matthewfeickert avatar May 18 '25 22:05 matthewfeickert

Thanks for asking, I don't need to be a maintainer of it, and I'm trying to limit how much stuff I say yes to, even if it's hands-off :)

Also, once I get a conda-forge feedstock up, would you be open to a PR to add use instructions from conda-forge? Or do you prefer to keep the README limited to distributions you control (i.e. PyPI)?

Yeah, fine to add that to the README. If anyone reports problems I'll point them in the right direction.

Thank you!

hugovk avatar May 19 '25 08:05 hugovk

Done in https://github.com/conda-forge/staged-recipes/pull/30085 🚀

hugovk avatar Oct 15 '25 06:10 hugovk