# Path: makesite/settings.py
# CFGNAME = 'makesite.ini'
# 
# Path: makesite/core.py
# LOGGER = logging.getLogger('Makesite')
# LOGFILE_HANDLER = logging.FileHandler(
#     mktemp('.log', 'ms.%s-' % datetime.now().strftime('%d.%m')))
# STREAM_HANDLER = logging.StreamHandler(stdout)
# ACTIONS = dict()
# class ColoredFormater(logging.Formatter):
# class MakesiteArgsParser(ArgumentParser):
# class OrderedSet(list):
# class MakesiteException(AssertionError):
#     def format(self, record):
#     def error(self, message):
#     def parse_args(self, args=None, namespace=None):
# def action(*arguments, **options):
#     def _inner(func):
#         def _wrapper(params=None):
#     def __init__(self, sequence):
# def get_project_templates(path):
# def get_base_modules():
# def get_base_templates():
# def print_header(msg, sep='='):
# def which(program):
# def call(cmd, shell=True, **kwargs):
# def walklevel(dirpath, level=1):
# def is_exe(path):
# def gen_template_files(path):


from os import path as op, listdir
from makesite.settings import CFGNAME
from makesite.core import MakesiteParser



DEPLOYDIR = op.dirname(op.dirname(__file__))


def read_config(folder):
    path = op.join(folder, CFGNAME)

# Path: makesite/settings.py
# CFGNAME = 'makesite.ini'
# 
# Path: makesite/core.py
# LOGGER = logging.getLogger('Makesite')
# LOGFILE_HANDLER = logging.FileHandler(
#     mktemp('.log', 'ms.%s-' % datetime.now().strftime('%d.%m')))
# STREAM_HANDLER = logging.StreamHandler(stdout)
# ACTIONS = dict()
# class ColoredFormater(logging.Formatter):
# class MakesiteArgsParser(ArgumentParser):
# class OrderedSet(list):
# class MakesiteException(AssertionError):
#     def format(self, record):
#     def error(self, message):
#     def parse_args(self, args=None, namespace=None):
# def action(*arguments, **options):
#     def _inner(func):
#         def _wrapper(params=None):
#     def __init__(self, sequence):
# def get_project_templates(path):
# def get_base_modules():
# def get_base_templates():
# def print_header(msg, sep='='):
# def which(program):
# def call(cmd, shell=True, **kwargs):
# def walklevel(dirpath, level=1):
# def is_exe(path):
# def gen_template_files(path):


# Path: makesite/modules/makesite/utils.py
from os import path as op, listdir
from makesite.settings import CFGNAME
from makesite.core import MakesiteParser




DEPLOYDIR = op.dirname(op.dirname(__file__))


def read_config(folder):
    path = op.join(folder, CFGNAME)

    parser = MakesiteParser()