mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
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:
parent
cd5c406d9a
commit
e485102ef2
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user