Skip to content

ChannelConfig#

ChannelConfig #

__init__(channel_alias='https://conda.anaconda.org/', root_dir=os.getcwd()) #

Create a new channel configuration.

Examples#
>>> channel_config = ChannelConfig()
>>> channel_config # doctest: +ELLIPSIS
ChannelConfig(channel_alias="https://conda.anaconda.org/", ...
>>> channel_config = ChannelConfig("https://repo.prefix.dev/", "/path/to/root/dir")
>>> channel_config
ChannelConfig(channel_alias="https://repo.prefix.dev/", root_dir="/path/to/root/dir")
>>>

__repr__() #

Return a string representation of this channel configuration.

Examples#
>>> channel_config = ChannelConfig()
>>> channel_config # doctest: +ELLIPSIS
ChannelConfig(channel_alias="https://conda.anaconda.org/", root_dir="...
>>>