> Obviously everyone understands this differently. But I thought that if
> I have a script A:
>
> -------
> from sage.all import x
> print x**2
> -------
>
> Then my script has to be GPL, because it is dynamically loading a GPL
> library (without any runtime exception) *and* my script doesn't work
> without Sage.
>
> If I however write a script B:
>
> -------
> sage_present = True
> if sage_present:
>    from sage.all import x
>    print x**2
> else:
>    from sympy.abc import x
>    print x**2
> ------
>
> Then my script doesn't have to be GPL, because it also runs when Sage
> is not present (and sympy is BSD).
>
> Am I right or wrong?

In the canonical interpretation of the GPL, you are right.

Brian

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to