Re: Python2 and Python3 checks

2018-03-21 Thread Bob Friesenhahn
On Wed, 21 Mar 2018, Matěj Týč wrote: The question stands like this: Is there a demand on automake side to fix this issue - to allow developers addressing multiple Python interpreters of different major versions? If so, I think that I can come up with some patches to get this working. Is

Python2 and Python3 checks

2018-03-21 Thread Matěj Týč
Hello, there is a Python autoconf support macro in automake AM_PATH_PYTHON that can be used to find Python interpreters. The problem of this macro is that it treats Python versions in a linear manner - if I write that I want Python >= 2.7 on a machine that has Python 2.6 and Python 3.1, I