wjlei1990 / pycmt3d

Doc:
http://wjlei1990.github.io/pycmt3d/
GNU Lesser General Public License v3.0
8 stars 8 forks source link

Licensing issues #2

Open QuLogic opened 8 years ago

QuLogic commented 8 years ago

Your code contains several files produced by Lion Krischer that are GPLv3, but this code claims to be LGPLv3. The GPLv3 files will cause this entire codebase to be licensed as GPLv3, so you will need to either re-write them, or ask @krischer to relicense those files as LGPLv3.

wjlei1990 commented 8 years ago

Hi,

You mean in setup.py, I have:

# The license
license='GNU Lesser General Public License, Version 3',

If I change it to:

 license='GNU General Public License, Version 3 (GPLv3)',

Will it fix the problem?

QuLogic commented 8 years ago

Sure, it will "fix" the problem, but that depends on whether you wish the code to be under the GPL instead of the LGPL or not. Maybe see what @krischer says first.

krischer commented 8 years ago

For the testing code: Sure do whatever you want.

For this file here: https://github.com/wjlei1990/pycmt3d/blob/584a09f4795f4cfea4114f26aefb2b80bad320b4/src/pycmt3d/source.py

@martinvandriel also has copyright on it so he has to chime in as well. I'm fine with this being licensed under GPL or LGPL. That being said: we are not really sure about Instaseis' licensing situation ourselves as it has been in the legal departments of our universities for ages... But we don't expect any problems.

wjlei1990 commented 8 years ago

Hi Lion,

If it is not a problem for you, I am going to change you test code into LGPLv3. That will fix all the problems. So we don't need to make any more changes.

krischer commented 8 years ago

Go ahead!

If you copy anything from pyflex that is not an addition of mine your code would have to be GPL. pyflex has to be GPL as its a clear derivative from FLEXWIN which has some weird french license but I clarified with the FLEXWIN devs and its fine to release pyflex under GPL.

wjlei1990 commented 8 years ago

OK, thanks.

I don't think I copied stuff from pyflex. It should only uses window information from pyflex.

komatits commented 7 years ago

Hi all,

Regarding using it from SPECFEM we are all set, Elliott was talking about including GPL into LGPL, which is problematic, however the other way around is OK and thus we are fine because SPECFEM3D is GNU v2 or any later version. From https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License#Compatibility

"Version 3 of the LGPL is not inherently compatible with version 2 of the GPL. However, works using the latter that have given permission to use a later version of the GPL are compatible: a work released under the GPLv2 "or any later version" may be combined with code from a LGPL version 3 library, with the combined work as a whole falling under the terms of the GPLv3."