# 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
from __future__ import print_function, absolute_import, unicode_literals




try:
except ImportError:




logger = logging.getLogger('binstar')


def expandvars(path):

# 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

from __future__ import print_function, absolute_import, unicode_literals




try:
except ImportError:




logger = logging.getLogger('binstar')


def expandvars(path):

    environ = dict(CONDA_ROOT=CONDA_ROOT, CONDA_PREFIX=CONDA_PREFIX)