#!/bin/sh
# Launcher for Bible Analyzer (installed by the bibleanalyzer package).
#
# The program is plain Python that resolves its own data files from the folder
# it lives in (appPaths.py), so it is started by path instead of being imported
# from /usr/lib/python3/dist-packages.  /opt is root-owned: without
# PYTHONDONTWRITEBYTECODE Python would try to create __pycache__ next to the
# sources and print errors.
set -e

PYTHONDONTWRITEBYTECODE=1
export PYTHONDONTWRITEBYTECODE

exec python3 /opt/bibleanalyzer/analyzer5.py "$@"
