How to package executables
kakuto at w32tex.org
Tue Jul 21 23:00:11 CEST 2020
> As suggested, I merged __init__.py and __main__.py files into a
> single spix.py file (work is done in branch texlive  for those
> interested). It can even simply be renamed as "spix", which would
> work on GNU/Linux (and MacOS?), but maybe it would not work on
> Windows, as Windows wouldn't care about the shebang, so I don't
> know whether this is a good idea or not.
I confirmed that your spix.py worked ok on Windows with
On Windows, shebang is interpreted well by a wrapper
spix.exe in the bin directory.
More information about the tex-live