Delete project files
    @type   site:   Site

def _remove_code(site):
    """
    Delete project files
    @type   site:   Site
    """
    def handle_error(function, path, excinfo):
        click.secho('Failed to remove path ({em}): {p}'.format(em=excinfo.message, p=path), err=True, fg='red')

    if os.path.exists(site.root):
        shutil.rmtree(site.root, onerror=handle_error)