mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 02:28:35 +00:00
Move python related functions together to make it easy to read the code.
This commit is contained in:
parent
35c299f86d
commit
02ee471d9d
@ -40,6 +40,12 @@ namespace lyx {
|
||||
namespace support {
|
||||
namespace os {
|
||||
|
||||
int timeout_min()
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
|
||||
static string const python23(string const & binary, bool verbose = false)
|
||||
{
|
||||
const string version_info = " -c 'from __future__ import print_function;import sys; print(sys.version_info[:2], end=\"\")'";
|
||||
@ -65,12 +71,6 @@ static string const python23(string const & binary, bool verbose = false)
|
||||
}
|
||||
|
||||
|
||||
int timeout_min()
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
|
||||
string const python(bool reset)
|
||||
{
|
||||
// This function takes inspiration from PEP 394 and PEP 397
|
||||
|
Loading…
Reference in New Issue
Block a user