How do I protect python code?

Posted by Jordfräs on Stack Overflow See other posts from Stack Overflow or by Jordfräs
Published on 2008-11-04T11:57:27Z Indexed on 2010/06/07 5:12 UTC
Read the original article Hit count: 188

Filed under:
|
|
|

I am developing a piece of software in python that will be distributed to my employer's customers. My employer wants to limit the usage of the software with a time restricted license file.

If we distribute the .py files or even .pyc files it will be easy to (decompile), and remove the code that checks the license file.

Another aspect is that my employer do not want the code to be read by our customers, fearing that the code may be stolen or at least the "novel ideas".

Is there a good way to handle this problem? Preferably with an off-the-shelf solution.

The software will run on Linux systems (so I don't think py2exe will do the trick)

© Stack Overflow or respective owner

Related posts about python

Related posts about licensing