Does the user need to know Python and how to install a package with pip?
If the answer is yes, then the distribution over pip is ok.
If the user has no knowledge, it's better to deploy on Windows a executable with all dependencies.
There are different ways. Currently the lowest hanging fruit comes from
packs the Python Interpreter together with the dependencies and the source code in one executable if needed.
as I know with optimizations from nuitka. This also able to create exe files for Windows.
Another approach is
I don't like it to provide binary files, but sometimes the requirement enforces this.
If the answer is yes, then the distribution over pip is ok.
If the user has no knowledge, it's better to deploy on Windows a executable with all dependencies.
There are different ways. Currently the lowest hanging fruit comes from
PyInstaller
. Thispacks the Python Interpreter together with the dependencies and the source code in one executable if needed.
Nuitka
is different. This module converts Python to C++ and compiles it. There is still an interpreter, but as faras I know with optimizations from nuitka. This also able to create exe files for Windows.
Another approach is
pynsist
, which uses the NSIS installer to install the Python Interpreter together with the pip dependencies + provided local wheels all in a installer. It can also be uninstalled.I don't like it to provide binary files, but sometimes the requirement enforces this.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!