enodia-sentinal/packaging/enodia-sentinel.wrapper
Luna 586f74b929 Relicense under GPL-3.0-or-later
Replace MIT with the full GNU GPLv3 text, update license metadata in
pyproject.toml (+ trove classifiers) and PKGBUILD, and add
SPDX-License-Identifier headers to all Python modules and shell scripts.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 06:52:34 -07:00

9 lines
441 B
Bash
Executable file

#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-or-later
# Launcher for the Enodia Sentinel Python package.
# Computes the install prefix from its own location so it works whether
# installed under /usr or /usr/local, with no pip/site-packages involvement.
here=$(dirname "$(readlink -f "$0")") # .../bin
prefix=${here%/bin}
export PYTHONPATH="${prefix}/lib/enodia-sentinel:${PYTHONPATH}"
exec python3 -B -m enodia_sentinel.cli "$@"