Have you tried using Nuitka - rather than pyInstalller - it means you distribute a single executable and the Python run time library (which they probably have already), and it has the advantage that it is a bit quicker than standard python.

Rather than bundle the source code and interpreter in single executable, Nuitka actually compiles the Python source code to native machine code (via a set of C files), and  this native executable uses the Python runtime library to implement the python features.It does rely on you having a Windows C compiler available.

On 25/11/2021 17:10, Ulli Horlacher wrote:
Chris Angelico <ros...@gmail.com> wrote:

Unfortunately, if you're not going to go to the effort of getting your
executables signed
I cannot sign my executables (how can I do it anyway?), because Windows
deletes my executable as soon as I have compiled them! They exist only
for a few seconds and then they are gone.


another reason to just distribute .py files.
I cannot do that because my users do not have Python installed and they
are not allowed to do it.

--
Anthony Flury
*Moble*: +44 07743 282707
*Home*: +44 (0)1206 391294
*email*: anthony.fl...@btinternet.com <mailto:anthony.fl...@btinternet.com>
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to