Hi,
we have encountered an issue[1] with the python double-digit version detection.
The used `sys.version[:3]` used in automake strips digits from the python version. For example '3.10' is detected as '3.1'.
To fix this issue, `sys.version[:3]` is changed to `sys.version_info[:2]` in the attached patch.
Version: 1.16.2
How to reproduce: Use automake with python 3.10 (or any double-digit version)
More details can be found in the bugzilla below if needed.