help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pytave licensing


From: David Grundberg
Subject: Re: Pytave licensing
Date: Thu, 19 Nov 2009 11:38:05 +0100
User-agent: Thunderbird 2.0.0.21 (X11/20090302)

Ulrich Staudinger wrote:


On Thu, Nov 19, 2009 at 10:08 AM, David Grundberg <address@hidden <mailto:address@hidden>> wrote:



    Lets look at a Python script. This script imports Pytave by some
    means. By doing this, it is a derivative work of Pytave. In order
    to redistribute this script you must comply with the GPL.


Exactly.
But if the script does not import pytave and does not use libraries that are distributed with it, it does not have to be.

As Soren pointed out: http://www.gnu.org/licenses/gpl-faq.html#IfInterpreterIsGPL

"When the interpreter just interprets a language, the answer is no. The interpreted program, to the interpreter, is just data; a free software license like the GPL, based on copyright law, cannot limit what data you use the interpreter on. You can run it on any data (interpreted program), any way you like, and there are no requirements about licensing that data to anyone. However, when the interpreter is extended to provide “bindings” to other facilities (often, but not necessarily, libraries), the interpreted program is effectively linked to the facilities it uses through these bindings. So if these facilities are released under the GPL, the interpreted program that uses them must be released in a GPL-compatible way."


I've already read the FAQ. That paragraph only refers to interpreters. But Pytave isn't used as a interpreter! Pytave is used as a Python module, and must be licensed to be used as such. (The paragraph do applies to the m-files being interpreted by the Octave interpreter, though. But that is a different issue, and could be discussed more succinct with the Octave + m-file case.)

Regardless how Pytave is loaded into the Python script, the script is derivate work of Pytave.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]