# Path: ricloud/compat.py
# PY3 = sys.version_info[0] >= 3
#     def want_bytes(data):
#     def want_text(data):
#     def to_str(data):
#     def want_bytes(data):
#     def want_text(data):
#     def to_str(data):


import os
from ricloud.compat import RawConfigParser
from __future__ import absolute_import




DEFAULT_CONF_NAME = "ricloud.ini"


def get_config(config_name=DEFAULT_CONF_NAME):
    config = RawConfigParser()

    # Read defaults.
    default_conf = os.path.join(os.path.dirname(__file__), config_name)

    # Read user config. We look for these in the user's root directory.
    user_root_conf = get_user_root_config_path(config_name)


# Path: ricloud/compat.py
# PY3 = sys.version_info[0] >= 3
#     def want_bytes(data):
#     def want_text(data):
#     def to_str(data):
#     def want_bytes(data):
#     def want_text(data):
#     def to_str(data):


# Path: ricloud/conf.py
import os
from ricloud.compat import RawConfigParser

from __future__ import absolute_import




DEFAULT_CONF_NAME = "ricloud.ini"


def get_config(config_name=DEFAULT_CONF_NAME):
    config = RawConfigParser()

    # Read defaults.
    default_conf = os.path.join(os.path.dirname(__file__), config_name)

    # Read user config. We look for these in the user's root directory.
    user_root_conf = get_user_root_config_path(config_name)


    paths = [default_conf, user_root_conf]