Interesting discovery from automatic tools (python code)

José Matos jaomatos at gmail.com
Sun Jul 31 10:41:02 UTC 2022


On Sun, 2022-07-31 at 11:16 +0200, Pavel Sanda wrote:
> Sure, whatever you need :)
> The patch is in.
> 
> Pavel

First attempt. :-)

The code is straightforward, on my system it works in both python2 and
python3. FWIW the only difference is:

--- configure2.log      2022-07-31 11:32:45.733253492 +0100
+++ configure.log       2022-07-31 11:33:20.607195627 +0100
@@ -1,4 +1,4 @@
-INFO: +Running LyX configure with Python 2.7.18
+INFO: +Running LyX configure with Python 3.10.5
 INFO: checking for a Latex2e program...
 DEBUG: (latex $$i,latex2e $$i)
 INFO: +checking for "latex"...  yes

And of course that is the expected.

FWIW the code should work on any system/OS... famous last words, I
know. :-D

Please test it.
-- 
José Abílio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-configure.patch
Type: text/x-patch
Size: 1265 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220731/10431c5b/attachment.bin>


More information about the lyx-devel mailing list