"""Web UI blueprint for SmartTools.""" import os from flask import Blueprint # Use absolute paths for templates and static folders _pkg_dir = os.path.dirname(os.path.abspath(__file__)) web_bp = Blueprint( "web", __name__, template_folder=os.path.join(_pkg_dir, "templates"), static_folder=os.path.join(_pkg_dir, "static"), static_url_path="/web-static", )