Question

I have Python application which needs to be released commercially ( Closed Source), We are using some modules which are licensed GPL.

If I understood correctly then GPL put restrictions that I can not link GPL code statically if I want to release it under closed source.

Some other questions for dynamic import suggest using __import__ but I think that will work the same way, atleast when we will generate the binaries.

Was it helpful?

Solution

You need to speak to a lawyer (or several), but larsmans is essentially correct; if your code incorporates GPL code then you must release the source code in accordance with the terms of the GPL. If that's not an option, for whatever reason, then you need to find replacements for the GPL code. Even if you're only importing modules licensed under the GPL then you still need to release that much of it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top