From cd897187d3a38893904a872281495a878036ae3a Mon Sep 17 00:00:00 2001
From: Maximilian Moser <maximilian.moser@tuwien.ac.at>
Date: Mon, 12 Jul 2021 17:19:02 +0200
Subject: [PATCH] Remove blueprint and views

---
 invenio_utilities_tuw/views.py | 30 ------------------------------
 setup.py                       |  3 ---
 2 files changed, 33 deletions(-)
 delete mode 100644 invenio_utilities_tuw/views.py

diff --git a/invenio_utilities_tuw/views.py b/invenio_utilities_tuw/views.py
deleted file mode 100644
index 5e9b25b..0000000
--- a/invenio_utilities_tuw/views.py
+++ /dev/null
@@ -1,30 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Copyright (C) 2020 - 2021 TU Wien.
-#
-# Invenio-Utilities-TUW is free software; you can redistribute it and/or
-# modify it under the terms of the MIT License; see LICENSE file for more
-# details.
-
-"""Some utilities for InvenioRDM."""
-
-# TODO: This is an example file. Remove it if you do not need it, including
-# the templates and static folders as well as the test case.
-
-from flask import Blueprint, render_template
-from flask_babelex import gettext as _
-
-blueprint = Blueprint(
-    "invenio_utilities_tuw",
-    __name__,
-    template_folder="templates",
-    static_folder="static",
-)
-
-
-@blueprint.route("/")
-def index():
-    """Render a basic view."""
-    return render_template(
-        "invenio_utilities_tuw/index.html", module_name=_("Invenio-Utilities-TUW")
-    )
diff --git a/setup.py b/setup.py
index ae16066..d499051 100644
--- a/setup.py
+++ b/setup.py
@@ -71,9 +71,6 @@ setup(
         "invenio_base.apps": [
             "invenio_utilities_tuw = invenio_utilities_tuw:InvenioUtilitiesTUW",
         ],
-        "invenio_base.blueprints": [
-            "invenio_utilities_tuw = invenio_utilities_tuw.views:blueprint",
-        ],
         "invenio_i18n.translations": [
             "messages = invenio_utilities_tuw",
         ],
-- 
GitLab