From f39a5b3a096037eb9f1843046dc520c4a158ad5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Tue, 9 Aug 2022 21:39:56 +0200 Subject: [PATCH] Manual.md: python_version does not default to 2 anymore. --- Manual.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Manual.md b/Manual.md index 89fbc4eb8c83..3b0d85e78abc 100644 --- a/Manual.md +++ b/Manual.md @@ -1602,12 +1602,11 @@ recursively by the target python version. This differs from `pycompile_module` i path may be specified, Example: `pycompile_dirs="usr/share/foo"`. - `python_version`: this variable expects the supported Python major version. -By default it's set to `2`. This variable is needed for multi-language +In most cases version is inferred from shebang, install path or build style. +Only required for some multi-language applications (e.g., the application is written in C while the command is written in Python) or just single Python file ones that live in `/usr/bin`. -> NOTE: you need to define it *only* for non-Python modules. - Also, a set of useful variables are defined to use in the templates: | Variable | Value |