How to specify optional packages? #1243
-
Hi, I have a question regarding the konoha package. Here, the install options allow to install a couple of optional packages:
Is it possible to do something like this with conda-forge recipes? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You can use multiple outputs in the same recipe to build the kinds of variants above. See here: https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#outputs-section |
Beta Was this translation helpful? Give feedback.
-
For future reference, here's an example for how @melund handled optional dependencies in the seaborn package: conda-forge/seaborn-feedstock#19! |
Beta Was this translation helpful? Give feedback.
You can use multiple outputs in the same recipe to build the kinds of variants above. See here: https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#outputs-section