Skip to content

conda: set channel via keyword #446

@henryiii

Description

@henryiii

How would this feature be useful?
Minor addition for a common situation.

Describe the solution you'd like

What about having a channel= keyword argument for conda_install so that one could write channel="conda-forge" if selecting a channel? It would be a bit more natural than "--channel=conda-forge", I think, and likely is very common.

It is possible to set multiple channels - this is required for bioconda, for example. This could be an iterable, channel=["conda-forge", "bioconda"]. Maybe the keyword should be "channels" and always takes a list?

Describe alternatives you've considered

Leave as is.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions