Files
photoanalyzer/scripts/python

12 lines
227 B
Bash
Executable File

#!/bin/sh
set -eu
for python in python3.13 python3.12 python3.11; do
if command -v "$python" >/dev/null 2>&1; then
exec "$python" "$@"
fi
done
echo "photoanalyzer: Python 3.11 or newer is required" >&2
exit 2