4

I have a project that I have licensed under the GPL3. In it, I have a section of code which implements a bessel filter, which I ported from the python scipy implementation. I'm unclear on how scipy code is licensed - is it OK to simply include that code in my GPL project, or do I have to add something additional since it was derived from a python library?

1

Scipy proper has a clear BSD license so there is not un-clear.

When porting code, I prefer to keep the original license of the code in all cases (even if the license may not require it).

I would typically port the files in files that match more or less the ported files structure and keep these clearly under their original license. To avoid confusion and meet the BSD requirements I would also copy the Scipy license in a header comment in these files together with some notes explaining that this is port, available under the original ported code license and eventually describing some of the changes. Not all of this is required, but this is to me the right thing to do.

2

As Philippe notes, scipy is licensed under the 3-clause BSD license. The FSF believes this to be a GPL-compatible license, which means you should have no problems incorporating it into your project and licensing the result under the GPLv3.

  • 1
    Provided that the conditions of the BSD3 license are met. In particular: (1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. (2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. – Zimm i48 Sep 2 '16 at 11:47

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.