I developed a simple Python app on Debian and I don't want to share my code. The user will be on Windows. I tried to use py_compile but the *.pyc file is not working on the other machine (Windows), giving a Bad magic number error. Probably the error is due to a different Python 3 version, but the code is full compatible with any Python 3 version.
So, the question is: how can I compile a script in *.pyc format that is not checking the Python version in a so strictly way?
Thanks