For python 3 require at least 3.5

This handles configure.ac and os::python23. What remains to be done is cmake.
This commit is contained in:
Jean-Marc Lasgouttes 2019-06-28 00:06:28 +02:00
parent cd5c406d9a
commit e485102ef2
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ for file in config/install-sh ; do
done
# Find a suitable python interpreter
LYX_PATH_PYTHON23([2.7.0], [3.3.0])
LYX_PATH_PYTHON23([2.7.0], [3.5.0])
# do the usual python setup stuff
AM_PATH_PYTHON

View File

@ -65,7 +65,7 @@ static string const python23_call(string const & binary, bool verbose = false)
int major = convert<int>(sm.str(1));
int minor = convert<int>(sm.str(2));
if((major == 2 && minor < 7) || (major == 3 && minor < 4))
if((major == 2 && minor < 7) || (major == 3 && minor < 5))
return string();
if (verbose)