Protect your Python code and distribute it as .exe file with easse. With this short and simply batch file, convert your .py to .c nad compile it to the binaries.
- Clone the repo.
- Prepare Your .py file as module (to be run as imported external module in the other file).
- Place run.bat file in the same directory with the single-file Python code.
- Remove __result__ directory, if You already ran the batch script before
- Execute run.bat
- Follow instructions from console
- Modify main.py if needed (after running main.py Your script should run as completely normal)
- Distribute dist directory
- Remember that You have to compile it for every platform individually