On Sat, Jul 25, 2015 at 08:49:17PM +0300, Guy Rutenberg wrote: > Hi, > > On Thu, Jul 16, 2015 at 12:16 AM, Guy Rutenberg <guyrutenb...@gmail.com> > wrote: > > > Hi, > > > > On Mon, Jul 13, 2015 at 1:43 PM, Enrico Forestieri <for...@lyx.org> wrote: > > > >> So, Guy, you can drop support for python 2.6. I also see that there would > >> be another enhancement, if you would like to have a stab at it. When > >> calling > >> lyx2lyx, the script uses "python" to invoke the interpreter, such that the > >> first python found in the PATH would be used. As it could be a wrong > >> version, > >> we can replace "python" with the path to the current interpreter, which > >> surely is the right version. This may seem superfluous when the scripts > >> will > >> work with either python 2.7 or 3.x, but in the mean time it would help. > >> > > > > Sure, I'll submit a new patch being compatible with Python 2.7 and above. > > I'll also fix the python PATH issue. The new patches will probably take me > > a few days as I'm away from my computer. > > > I've attached an updated patch. It is compatible with python >= 2.7, and > also includes invokes the correct python interpreter for lyx2lyx as > suggested.
Thanks, I applied the patch at be41ccd4. -- Enrico