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

[Help needed]: conda-build #38

Open
jorgensd opened this issue Jan 23, 2023 · 1 comment
Open

[Help needed]: conda-build #38

jorgensd opened this issue Jan 23, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@jorgensd
Copy link
Member

Title

Add instructions on how to use conda-build with pypi

Link

https://github.com/scientificcomputing/generate-python-package

Details

Would be optimal to have this in the cookie cutter.
Also have a description of how it works, similar to your presentation today.
@jorgensd jorgensd added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 23, 2023
@minrk
Copy link

minrk commented Jan 23, 2023

I'm not sure it should be in the cookie cutter. I don't think building a conda package from your repo will be common enough.

I think having a dev version of your project as a conda package mostly makes sense if installation of your package in particular is hard and/or slow. Instead, I'd recommend submitting to something like conda-forge upon release and managing the recipe separately from the project itself.

I can write up some of the reasoning for when to build the conda recipe from your repo vs separately, and how to manage that. In particular, how to write your actual package installation so that it will play well with things like conda-build (respect standard env like $CXX, $CMAKE_ARGS, etc.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants