Re: Include Python3 in the Windows installer

2023-03-12 Thread Yu Jin
Am So., 12. März 2023 um 09:59 Uhr schrieb Yu Jin : > Am So., 12. März 2023 um 03:37 Uhr schrieb Thibaut Cuvelier: > >> On Sun, 12 Mar 2023 at 03:25, Richard Kimberly Heck wrote: >> >>> On 3/11/23 20:18, Thibaut Cuvelier wrote: >>> >>> On Sun, 12 Mar 2023 at 01:44, Richard Kimberly Heck wrote: >>

Re: Include Python3 in the Windows installer

2023-03-12 Thread Yu Jin
Am So., 12. März 2023 um 01:43 Uhr schrieb Richard Kimberly Heck: > On 3/11/23 03:22, Yu Jin wrote: > > Am Sa., 11. März 2023 um 08:31 Uhr schrieb Yu Jin: > >> Am Sa., 11. März 2023 um 07:09 Uhr schrieb Richard Kimberly Heck: >> >>> On 3/10/23 17:04, Jean-Marc Lasgouttes wrote: >>> > Le 10/03/2023

Re: Include Python3 in the Windows installer

2023-03-12 Thread Yu Jin
Am So., 12. März 2023 um 03:37 Uhr schrieb Thibaut Cuvelier: > On Sun, 12 Mar 2023 at 03:25, Richard Kimberly Heck wrote: > >> On 3/11/23 20:18, Thibaut Cuvelier wrote: >> >> On Sun, 12 Mar 2023 at 01:44, Richard Kimberly Heck wrote: >> >>> On 3/11/23 03:22, Yu Jin wrote: >>> >> So what would you

Re: Include Python3 in the Windows installer

2023-03-11 Thread Thibaut Cuvelier
On Sun, 12 Mar 2023 at 03:25, Richard Kimberly Heck wrote: > On 3/11/23 20:18, Thibaut Cuvelier wrote: > > On Sun, 12 Mar 2023 at 01:44, Richard Kimberly Heck > wrote: > >> On 3/11/23 03:22, Yu Jin wrote: >> > So what would you say? Is pywin32 needed or do I skip it? >> >> Did you see my message

Re: Include Python3 in the Windows installer

2023-03-11 Thread Richard Kimberly Heck
On 3/11/23 20:18, Thibaut Cuvelier wrote: On Sun, 12 Mar 2023 at 01:44, Richard Kimberly Heck wrote: On 3/11/23 03:22, Yu Jin wrote: So what would you say? Is pywin32 needed or do I skip it? Did you see my message about what this is supposed to do? Suppress certain windows

Re: Include Python3 in the Windows installer

2023-03-11 Thread Thibaut Cuvelier
On Sun, 12 Mar 2023 at 01:44, Richard Kimberly Heck wrote: > On 3/11/23 03:22, Yu Jin wrote: > > 2. The python package gets significantly larger (50MB vs 18MB unzipped) > and also the LyX installer itself when finished (65MB vs. 55MB). > > Not a big deal either. > LyX will still be far from Elect

Re: Include Python3 in the Windows installer

2023-03-11 Thread Richard Kimberly Heck
On 3/11/23 03:22, Yu Jin wrote: Am Sa., 11. März 2023 um 08:31 Uhr schrieb Yu Jin: Am Sa., 11. März 2023 um 07:09 Uhr schrieb Richard Kimberly Heck: On 3/10/23 17:04, Jean-Marc Lasgouttes wrote: > Le 10/03/2023 à 22:21, Yu Jin a écrit : >> all the win* imports from l

Re: Include Python3 in the Windows installer

2023-03-11 Thread Yu Jin
Am Sa., 11. März 2023 um 08:31 Uhr schrieb Yu Jin: > Am Sa., 11. März 2023 um 07:09 Uhr schrieb Richard Kimberly Heck: > >> On 3/10/23 17:04, Jean-Marc Lasgouttes wrote: >> > Le 10/03/2023 à 22:21, Yu Jin a écrit : >> >> all the win* imports from lyxpreview_tools.py fail, but those are in >> >> a

Re: Include Python3 in the Windows installer

2023-03-10 Thread Yu Jin
Am Sa., 11. März 2023 um 07:09 Uhr schrieb Richard Kimberly Heck < rikih...@gmail.com>: > On 3/10/23 17:04, Jean-Marc Lasgouttes wrote: > > Le 10/03/2023 à 22:21, Yu Jin a écrit : > >> all the win* imports from lyxpreview_tools.py fail, but those are in > >> a try-except block > > > > What do we g

Re: Include Python3 in the Windows installer

2023-03-10 Thread Richard Kimberly Heck
On 3/10/23 17:04, Jean-Marc Lasgouttes wrote: Le 10/03/2023 à 22:21, Yu Jin a écrit : all the win* imports from lyxpreview_tools.py fail, but those are in a try-except block What do we gain when they ar present? It might be important enough to warrant having those modules.     try:    

Re: Include Python3 in the Windows installer

2023-03-10 Thread Jean-Marc Lasgouttes
Le 10/03/2023 à 22:21, Yu Jin a écrit : all the win* imports from lyxpreview_tools.py fail, but those are in a try-except block What do we gain when they ar present? It might be important enough to warrant having those modules. prefs2prefs imports also fail, but looks like prefs2prefs.py is

Re: Include Python3 in the Windows installer

2023-03-10 Thread Yu Jin
Am Mi., 8. März 2023 um 14:49 Uhr schrieb Pavel Sanda: > > Another approach could be just collect all import lines from > all scripts in lib/scripts and check they are within that minimal > p3 install. > This sounds like a good idea, I just did that, there are quite a few imports: import os, re,

Re: Include Python3 in the Windows installer

2023-03-08 Thread Pavel Sanda
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

Include Python3 in the Windows installer

2023-03-07 Thread Yu Jin
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