I'm working on an open source Python project and we have plans to use GPLv2-licensed library python3-xlib, but we will not distribute it with our library. So user can install it by
pip install our-lib and the pip tool will install python3-xlib automatically. Or user can manually install python3-xlib.
I've read that 3-clause BSD license is an antidote for "GPL-infected" code. So is it possible to use BSD-licensed library in a proprietary solution? While it still uses GPL-licensed library as an external dependency (through Python import mechanism).
There is an example: pyautogui looks licensed under 3-clause BSD, but it uses python3-xlib as an external dependency on Linux. So can I use pyautogui in a proprietary solution? Can I use it internally in a corporation for testing a proprietary software?
There are 2 similar questions:
- If I include some GPL code in my project, can I release it as BSD?
- If I'm using a GPL 3 library in my project, can I license my project under MIT license?
Both answers are no. But all OPs are asking about including GPL-licensed code into their libraries distributions. Our library distribution will not include GPL-licensed code at all. It can just use it at runtime.
P.S. Of course, possible alternative is to avoid python3-xlib usage. But it requires a lot of time to re-implement the subset of that library.