Reputation: 17
I have a python script/app which is running on RPi in .py
file. Now I need to share this app, but I want to protect the code.
On windows I always export it to .exe
and share it in order to make it executable and protect the code (mostly using python auto-py-to-exepython auto-py-to-exe). What about Raspbian? Any suggestions?
Regards
Upvotes: 0
Views: 177
Reputation: 810
The theoretical aspects if you can obfuscate python sourcecorde are already widely discussed for example in this stackoverflow question.
If you just want to make it a little bit harder for someone to read your code compiling it as .pyc
could be a solution or maybe your .exe
export even runs with WINE on raspbian.
Upvotes: 1
Reputation: 649
Python, being a byte-code-compiled interpreted language, is very difficult to lock down.
So you have to apply ordinary commercial methods.
Upvotes: 1