How to package executables

Akira Kakuto kakuto at w32tex.org
Tue Jul 21 23:00:11 CEST 2020


Dear Louis,

> As suggested, I merged __init__.py and __main__.py files into a
> single spix.py file (work is done in branch texlive [1] 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
$TEXMFDIST/scripts/spix/spix.py.

On Windows, shebang is interpreted well by a wrapper
spix.exe in the bin directory.

Best,
Akira



More information about the tex-live mailing list.