# Path: binstar_client/utils/conda.py
# CONDA_PREFIX = sys.prefix
# 
# CONDA_ROOT = get_conda_root()
# 
# Path: binstar_client/utils/yaml.py
# def yaml_load(stream):
#     """Loads a dictionary from a stream"""
#     return safe_load(stream)
# 
# def yaml_dump(data, stream=None):
#     """Dumps an object to a YAML string"""
#     return safe_dump(data, stream=stream, default_flow_style=False)


from os.path import exists, join, dirname, isfile, isdir, abspath, expanduser
from string import Template
    from urllib import quote_plus
    from urllib.parse import quote_plus
from binstar_client.utils.conda import CONDA_PREFIX, CONDA_ROOT
from binstar_client.utils.appdirs import AppDirs, EnvAppDirs
from binstar_client.errors import BinstarError
from .yaml import yaml_load, yaml_dump
        from binstar_client import Binstar
import collections
import logging
import os
import stat
import warnings
import itertools
        'anaconda': {'url': DEFAULT_URL},
        'binstar': {'url': DEFAULT_URL},
    },
    'auto_register': True,
    'default_site': None,
    'url': DEFAULT_URL,
    'ssl_verify': True
}

CONFIGURATION_KEYS = [
    'auto_register',
    'default_site',
    'upload_user',
    'sites',
    'url',
    'verify_ssl',
    'ssl_verify',
]

SEARCH_PATH = (
    dirs.site_data_dir,
    '/etc/anaconda-client/',
    '$CONDA_ROOT/etc/anaconda-client/',
    dirs.user_data_dir,
    '~/.continuum/anaconda-client/',
    '$CONDA_PREFIX/etc/anaconda-client/',
)


def recursive_update(config, update_dict):

# Path: binstar_client/utils/conda.py
# CONDA_PREFIX = sys.prefix
# 
# CONDA_ROOT = get_conda_root()
# 
# Path: binstar_client/utils/yaml.py
# def yaml_load(stream):
#     """Loads a dictionary from a stream"""
#     return safe_load(stream)
# 
# def yaml_dump(data, stream=None):
#     """Dumps an object to a YAML string"""
#     return safe_dump(data, stream=stream, default_flow_style=False)


# Path: binstar_client/utils/config.py
from os.path import exists, join, dirname, isfile, isdir, abspath, expanduser
from string import Template
    from urllib import quote_plus
    from urllib.parse import quote_plus
from binstar_client.utils.conda import CONDA_PREFIX, CONDA_ROOT
from binstar_client.utils.appdirs import AppDirs, EnvAppDirs
from binstar_client.errors import BinstarError
from .yaml import yaml_load, yaml_dump
        from binstar_client import Binstar
import collections
import logging
import os
import stat
import warnings
import itertools

        'anaconda': {'url': DEFAULT_URL},
        'binstar': {'url': DEFAULT_URL},
    },
    'auto_register': True,
    'default_site': None,
    'url': DEFAULT_URL,
    'ssl_verify': True
}

CONFIGURATION_KEYS = [
    'auto_register',
    'default_site',
    'upload_user',
    'sites',
    'url',
    'verify_ssl',
    'ssl_verify',
]

SEARCH_PATH = (
    dirs.site_data_dir,
    '/etc/anaconda-client/',
    '$CONDA_ROOT/etc/anaconda-client/',
    dirs.user_data_dir,
    '~/.continuum/anaconda-client/',
    '$CONDA_PREFIX/etc/anaconda-client/',
)


def recursive_update(config, update_dict):

    for update_key, updated_value in update_dict.items():