I have a python project licensed under BSD-License. On its bottom I use a source code written in C++ which is licensed as LGPL and I have an optional dependency on a python package licensed under GPL.

I've been told that I should add licensing information of both of these packages in my original license file (which contains only the BSD-3-Clause License) but I cannot figure out (from searching the internet) what and how I should add it (in order to be formal).

  • Are you distributing only your own Python project (which you said is BSD licensed), or are you also distributing the (L)GPL code? Having a dependency does not generally mean you distribute anything. My code has a dependency on and 'uses' Microsoft Windows, but I don't need Microsoft's permission to distribute my code. – Brandin Nov 1 '18 at 21:28
  • Inside my project I have the code of another project. This is LGPL. I also have an optional dependency on another package that is GPL. I've been pointed out that I should add it inside my license. That is what brought me here in the first place. You can have a look here for more details. – user13526 Nov 20 '18 at 17:38
  • It doesn't matter what "dependencies" you have. It matters what code you are distributing. If you distribute GPL code, you must abide by its terms. You can't just say "well, it's an optional dependency" and pretend it doesn't apply to you. If you distribute it, then you must abide by the GPL, which of course means you must include the license text. If you don't distribute it, then you don't need to abide by it. – Brandin Nov 20 '18 at 22:18
  • So the only code I am redistributing "as is" inside my package is the LGPL. Also it came out as a variant of pybliss (see Code and Documentation here), which didn't contain a license, and uses the C++ version 0.5 of bliss (that is not licensed either). On the other hand the latest version of bliss 0.73 contains a license that is LGPL (which is not the version I use). – user13526 Nov 21 '18 at 10:43
  • So if my project should include this license (which I have not understood) what should I add to my license file (because the LGPL license file is huge)? Concerning the other package (the GPL) the user should install as pip install .. to uncover a functionality of my package (where I import it as from library import tools). Should I include that also? And if yes how? Tons of thanks btw :) – user13526 Nov 21 '18 at 10:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.