Manual.md: python_version does not default to 2 anymore.

This commit is contained in:
Piotr Wójcik 2022-08-09 21:39:56 +02:00 committed by Piotr
parent 8beb383192
commit 2b7d3192b1
1 changed files with 2 additions and 3 deletions

View File

@ -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 |