diff --git a/invenio_utilities_tuw/views.py b/invenio_utilities_tuw/views.py deleted file mode 100644 index 5e9b25bdbec993350e68dd73dcbfb89d866c28c5..0000000000000000000000000000000000000000 --- 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 ae16066526b65d3b1b18cd791aa30f432ba7f95b..d4990515c31e9f699272f93f810be03762c0e46a 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", ],