From 99115af1fc4242ab474992eb17666ffb1db38faf Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@collabora.com>
Date: Fri, 22 Nov 2024 15:27:50 +0000
Subject: [PATCH] slr-for-game-developers: Mention that sniper includes Python
 3

Python has fewer sharp edges than shell scripts, so this might be
appealing for games' startup scripts. Proton already relies on it.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 docs/slr-for-game-developers.md | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/docs/slr-for-game-developers.md b/docs/slr-for-game-developers.md
index ffb52e5cb..9408fbf8f 100644
--- a/docs/slr-for-game-developers.md
+++ b/docs/slr-for-game-developers.md
@@ -1300,6 +1300,14 @@ The legacy [`LD_LIBRARY_PATH`-based scout runtime][ldlp-runtime]
 cannot guarantee the presence of anything beyond basic shell utilities
 either.
 
+Titles that are configured to run in Steam Linux Runtime 3.0 (sniper)
+can include Python scripts,
+starting with `#!/usr/bin/env python3` or `#!/usr/bin/python3`,
+as an alternative to shell scripts.
+sniper includes Python 3.9 and most of the standard library
+(except for a few larger modules like `tk`),
+but does not include external modules like `pip`.
+
 <!-- References: -->
 
 [Application.persistentDataPath]: https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html
-- 
GitLab