Re: Python 3 as the default for 2.4

2018-03-31 Thread Kornel Benko
Am Samstag, 31. März 2018 00:25:00 CEST schrieb José Abílio Matos : > On Friday, 30 March 2018 20.21.53 WEST Kornel Benko wrote: > > And we should distinguish usage of python at configure and build time, > > from > > the use at lyx-run-time. > > > > Kornel > > That is

Re: Python 3 as the default for 2.4

2018-03-30 Thread José Abílio Matos
On Friday, 30 March 2018 20.21.53 WEST Kornel Benko wrote: > And we should distinguish usage of python at configure and build time, from > the use at lyx-run-time. > > Kornel That is where I respectfully disagree. :-) What you are suggesting is equivalent to release a lyx version with

Re: Python 3 as the default for 2.4

2018-03-30 Thread Kornel Benko
Am Freitag, 30. März 2018 21:19:43 CEST schrieb Kornel Benko : > Am Freitag, 30. März 2018 20:07:38 CEST schrieb José Abílio Matos > > : > > On Friday, 30 March 2018 19.59.13 WEST Kornel Benko wrote: > > > No, I think you are wrong. > > > CmakeLists.txt:760 > > >

Re: Python 3 as the default for 2.4

2018-03-30 Thread Kornel Benko
Am Freitag, 30. März 2018 20:07:38 CEST schrieb José Abílio Matos : > On Friday, 30 March 2018 19.59.13 WEST Kornel Benko wrote: > > No, I think you are wrong. > > CmakeLists.txt:760 > > starts with > > > > find_package(PythonInterp 3.3 QUIET) > > > > If python3 is

Re: Python 3 as the default for 2.4

2018-03-30 Thread José Abílio Matos
On Friday, 30 March 2018 19.59.13 WEST Kornel Benko wrote: > No, I think you are wrong. > CmakeLists.txt:760 > starts with > find_package(PythonInterp 3.3 QUIET) > If python3 is found, it is used as ${LYX_PYTHON_EXECUTABLE} from then on. I was referring to src/support/os.cpp function

Re: Python 3 as the default for 2.4

2018-03-30 Thread Kornel Benko
Am Freitag, 30. März 2018 19:38:28 CEST schrieb José Abílio Matos : > On Tuesday, 27 March 2018 10.29.31 WEST Kornel Benko wrote: > > On cmake build the default is already python3. > > True but then, if I read the code correctly, lyx will pick the language > called python that

Re: Python 3 as the default for 2.4

2018-03-30 Thread José Abílio Matos
On Tuesday, 27 March 2018 10.29.31 WEST Kornel Benko wrote: > On cmake build the default is already python3. True but then, if I read the code correctly, lyx will pick the language called python that only on Arch (linux) is python 3, for all other cases (in linux and other OSs) python refers to

Re: Python 3 as the default for 2.4

2018-03-30 Thread José Abílio Matos
On Tuesday, 27 March 2018 10.45.10 WEST Jean-Marc Lasgouttes wrote: > I am OK with that. Even Ubuntu 14.04 has python 3.4. > > JMarc FWIW the reasons are the following: * we require version 3.3 because we use the u"" prefix in several places, that was not supported in previous versions of

Re: Python 3 as the default for 2.4

2018-03-27 Thread Jean-Marc Lasgouttes
Le 26/03/2018 à 23:31, José Abílio Matos a écrit : Hi, I intend to apply a patch that makes python3 the default for lyx 2.4. The core of the change is to move all calls to python to use the python3 name. That should work everywhere. Eventually we should even ignore python 2 and go python 3,

Re: Python 3 as the default for 2.4

2018-03-27 Thread Kornel Benko
Am Montag, 26. März 2018 22:31:24 CEST schrieb José Abílio Matos : > Hi, > I intend to apply a patch that makes python3 the default for lyx 2.4. > The core of the change is to move all calls to python to use the python3 > name. That should work everywhere. On cmake build