#!/usr/bin/python3
"""Run from the checkout or from the installed Debian package."""
import sys
from pathlib import Path

source = Path(__file__).resolve().parent
sys.path.insert(0, str(source if (source / "kiosk").is_dir() else Path("/usr/lib/4web-kiosk")))
from kiosk.__main__ import main

sys.exit(main())
