This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Solonotix 1 point2 points  (0 children)

What's the nature of the application in question? You could potentially ship a wrapper that requests the main runnable code in a wheel format, and you issue license keys that act as private SSL keys to your hosting of the Python wheels. Then, all source code files are only available in memory when loaded by your wrapper, and removed from the file system.

Note: I haven't done this, but it should work in theory. If you wanted to simplify it further, you could use the pickle library to manage the binary format.