MrYsLab wrote: ↑
Sun Dec 30, 2018 2:12 pm
If having your users install your program using Python setup tools or pip is acceptable to you, you can configure setup.py specifying "Entry Points".
This will install the program as a native (Windows, macOS, Linux) executable that will be available on the command line for the user.
Here is a link that helps explain this:
https://chriswarrick.com/blog/2014/09/1 ... d-scripts/
The usual reasons for wanting to "compile" scripts are either:
1) Greater efficiency (i.e., a true "compile" should get you execution speeds on par with the equivalent program written in either C or assembler)
2) Encryption - i.e., don't want users to be able to see the source code.
Nowadays, it is almost always the later.
Now, I may be wrong (as I often am about things Python), but I don't think the "Entry Points" method (I read the URL briefly) speaks to either of these points. Am I wrong about that?