[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Re: Freezing Pygame projects in Windows



On Sun, 2016-05-08 at 07:07 +0100, Thomas Kluyver wrote:
> But you could run some tool beforehand that strips out comments and
> docstrings, renames variables, etc.

Stripping out comments/docstrings and asserts can be done by running
the code with 'python -OO'. I'm pretty sure I remember setting up
Pyinstaller to create the code in this manner.

But, there is not much point in spending any further time to obfuscate
the code. It is always going to be easy enough to decompile the byte
code and reconstruct the code if someone is dedicated enough.

Attachment: signature.asc
Description: This is a digitally signed message part