Include Python3 in the Windows installer
Pavel Sanda
sanda at lyx.org
Wed Mar 8 13:48:15 UTC 2023
On Tue, Mar 07, 2023 at 10:11:57PM +0100, Yu Jin wrote:
> I am probably a bit late on this, but Python2 like does not exist anymore,
> so I am thinking on including python 3 in the installer. I have looked at
> the download page for python and found Windows embeddable package (64-bit),
> which is 8-10 MB small (depending on the version), I have looked into that
> zip archive and seen that it does not look like a full python version like
> what you would get when downloading the installer. So I want to check if I
> can use this small package and if it will be "enough" for lyx' needs. Can
> somebody tell me if there is a way I can test/assess it? I can produce 2
> separate installers, one with the old python I still have and one with
> python 3, I would also be able to install them separately on a local VM for
> comparison, but I don't know what are the actual test scenarios, any ideas?
I can come with ad hoc list of python implemented features to try:
critical:
- reconfigure
- conversion of old documents and old settings
- editing and exporting document with various graphics formats (jpg,png,eps,pdf,svg)
less critical:
- new export to docbook
- math and inset preview
- export to LyX archive
minor/advanced features:
- sweave/tangle/knitr insets
- fen/csv
- citation viewer (can be run manually via lyxpaperview.py)
Another approach could be just collect all import lines from
all scripts in lib/scripts and check they are within that minimal
p3 install.
Pavel
More information about the lyx-devel
mailing list