The whole thing about the py check is for the default value in `data/filedefs/. As Lex said, if Python3 is available, it is available as python3 at the very least. Let's check for and use python3 generally. If we require python3 say so and test for it. The Python PEP requires the versioned python3 command to be installed even if python is also installed, so I don't see the point of such complications, especially trying to do it in autoconf m4. I'm not completely sure but I think the MSYS2 installation on my Windows machine also has no Python2 installed. My Linux machine has no Python2 installed and I still can build Geany :). Gen_api_gtkdoc.py has had lots of contributors, so anybody know if it will run on python3? (Btw, this installer is executed via Wine.) I just tested the Python 3.9 installer and it still installs the py launcher by default but not the real binaries.So, nothing has changed and the py launcher still seems like a good default for the filetype configuration. So first question, what should configure.ac test for, python3? And is the windows py still relevant? I did not look to see if they were patching it as their commits had over 1000 files. It uses "#!/usr/bin/env python" and I "saw" no python2 only code. | gen_api_gtkdoc.py has had lots of contributors, so anybody know if it will run on python3 | geany_gtk_doc_header.m4 is entirely pingÄoes this mean it is OK? I.e. Unless we make a pure windows build using the Microsoft tool chain, we should not look for "py". Python2 is no longer supported except (for maybe source only) releases for security fixes. If that fails it should report that it requires a "python version > 3". If either fails, it should test for "python3" and accept any version. It should test for "python" first, and then execute python -V to get the version and test for "version > 3". | So first question, what should configure.ac test for, python3? And is the | the other two build scripts and put them here so we have the milestone of | search, but anyway that doesn't have the configure.ac so I left it and | Thanks, dunno why it didn't show in my On Wed, 15 Sept 2021 at 18:48, elextr wrote:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |