# Path: handroll/exceptions.py
# class AbortError(Exception):
#     """Any fatal errors that would prevent handroll from proceeding should
#     signal with the ``AbortError`` exception."""
# 
# Path: handroll/i18n.py



import os
import shutil
from handroll.exceptions import AbortError
from handroll.i18n import _
# Copyright (c) 2017, Matt Layman



BUILTIN_SCAFFOLDS = {
    'default': _('A complete site to get you going'),
}
SCAFFOLDS_PATH = os.path.join(os.path.dirname(__file__), 'scaffolds')


def make(scaffold, site):
    """Make a site from the scaffold."""
    if scaffold not in BUILTIN_SCAFFOLDS:

# Path: handroll/exceptions.py
# class AbortError(Exception):
#     """Any fatal errors that would prevent handroll from proceeding should
#     signal with the ``AbortError`` exception."""
# 
# Path: handroll/i18n.py



# Path: handroll/scaffolder.py
import os
import shutil
from handroll.exceptions import AbortError
from handroll.i18n import _

# Copyright (c) 2017, Matt Layman



BUILTIN_SCAFFOLDS = {
    'default': _('A complete site to get you going'),
}
SCAFFOLDS_PATH = os.path.join(os.path.dirname(__file__), 'scaffolds')


def make(scaffold, site):
    """Make a site from the scaffold."""
    if scaffold not in BUILTIN_SCAFFOLDS:

        raise AbortError(_('There is no {scaffold} scaffold.'.format(