conda-forge recipe #80
Replies: 3 comments 13 replies
-
Conda to me is an elegant way of distributing Python packages with native extension libraries and depending on precompiled binaries. What would be the point of a conda-forge recipe for nanobind, which would only be distributed in source form? AFAIK, these days you can mix and match and just stick a PyPI line
into your I haven't used conda in a long time and am happy to be proven wrong. At least currently don't understand the point of the request. |
Beta Was this translation helpful? Give feedback.
-
@wjakob : I've added this PR (conda-forge/staged-recipes#20755) for the conda-forge recipe. I'll update it slightly to ensure we have python version >= 3.8. One thing I would need you to do is to comment on that PR that you are willing to be a maintainer for the recipe. |
Beta Was this translation helpful? Give feedback.
-
@wjakob : I re-tested the conda package and it's not working because the source/releases from github don't contain the robin_map sub-module. I didn't catch this before because my test environment wasn't clean, and had the sub-module already. Would it be possible for you to just add those packages as additional tarballs to the releases here? |
Beta Was this translation helpful? Give feedback.
-
For my project, it would be great to have nanobind available through conda.
This is slightly different compared to pybind since for that only headers are needed so it's easy to manage through a build system.
OTOH, for nanobind, since the library is necessary, it's cleaner to have it properly installed (even though I'm aware that it is usually linked statically into the build).
So are you OK if I submit a conda recipe to the conda-forge feedstock?
I think the license works well for this, and I'd simply attribute the conda recipe itself to this project as well.
Beta Was this translation helpful? Give feedback.
All reactions