This question already has an answer here:
We are a startup building a desktop application using Python targeting schools. Morally we want to Open up the source. But we are concerned how we will restrict others downloading for free there by impacting our business. Conventional business strategies of looking other avenues of revenue like support seems limited. Any ideas how we may go open source but still be able to protect the business?