v1.5: Python-3.9-Fix - dataclass(slots=True) entfernt, run.sh prueft Mindestversion, Versionen im Start-Log. Geprueft mit Python 3.9.25 + pygame 2.6.1: 57 Tests und Selbsttest gruen.
This commit is contained in:
1 parent
7f590a6f74
commit
37aa5c25f6
6 files changed
+27
-3
No files matched your search
@@ -21,6 +21,13 @@ if [ ! -x "$VENV/bin/python" ]; then
|
||||
"$PYTHON" -m venv "$VENV"
|
||||
fi
|
||||
|
||||
if ! "$VENV/bin/python" -c 'import sys; raise SystemExit(0 if sys.version_info >= (3, 9) else 1)'; then
|
||||
echo "✗ Python 3.9 oder neuer wird benötigt (gefunden: $("$VENV/bin/python" -V 2>&1))"
|
||||
echo " Tipp: neueres Python installieren (z.B. brew install python@3.12) und"
|
||||
echo " die Umgebung neu anlegen: rm -rf .venv"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if command -v shasum >/dev/null 2>&1; then
|
||||
REQ_HASH="$(shasum -a 256 requirements.txt | cut -d' ' -f1)"
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user