PDA

View Full Version : Best practices when releasing PyQt desktop application for commercial distribution



J. T. B.
5th July 2018, 02:27
Hi I am new here...

I am about to complete my first PyQt desktop software for commercial release.

I have never released a desktop software, so this is a new adventure for me.
My main concern is how to protect my software from being "cracked", meaning stolen and redistributed.

I looked for some guidelines online, but surprisingly, I haven't found anything.

I am trying to figure out some ways to do this and I have some ideas; but, I don't want to reinvent the wheel,
if there is a standard solution for this already. I figure, there must be people out there who are actually selling
their PyQt desktop apps and know what they're doing.

Any guidance will be greatly appreciated.

Thanks.

Cheers,

Joe

mfitzp
8th July 2019, 13:10
My main concern is how to protect my software from being "cracked", meaning stolen and redistributed.


With Python there is not much you can do to prevent someone getting at the source — it's an interpreted language, so the source must be there to work. Packagers may include the Python bytecode (.pyc) files instead but in this case it's still trivially reversible (and so editable).

If you want to stop casual copying I would just go with some kind of licensing system (e.g. Paddle) to handle payments, license codes, etc. and validate during startup (or every now and then). Most people aren't going to know/spend the time hacking around this, and more complex solutions are going to give diminishing returns — is it worth stopping 1% of users from pirating vs. spending that time on developing your application.

The best protection against piracy is making your software easily available and for a reasonable price.

Can you share your ideas?