GPL和Python模块。 [英] GPL and Python modules.
问题描述
让我们说我在一个应用程序中使用了一个GPL的python模块(例如在网站包中安装了一些
)。
我们也说我使用py2exe来打包和分发所说的
应用程序。
我正在分发一个衍生作品。 GPL'的python是什么?
或者是py2exe包装的模块的.pyc文件和我的
应用程序代码的.pyc文件仅仅聚合所以我
只需提供GPL模块的源代码而不是我的应用程序代码
?
IOW,我是否需要GPL我的应用程序代码并分发源代码
代码?
-
Grant Edwards你好!嘘!我在TATTOOED TRUCK-DRIVERS听到SIX
visi.com将发动机缸体扔进
空油桶......
Let''s say I use a GPL''d python module (e.g. something installed
in site-packages) in an application.
Let''s also say I use py2exe to package and distribute said
application.
Is what I''m distributing a "derived work" of the GPL''d python?
Or is py2exe''s packaging of the module''s .pyc file and my
application code''s .pyc files a "mere aggregation" so that I
only have to provide source code for the GPL''ed module and not
for my application code?
IOW, do I have to GPL my application code and distribute source
code for it?
--
Grant Edwards grante Yow! SHHHH!! I hear SIX
at TATTOOED TRUCK-DRIVERS
visi.com tossing ENGINE BLOCKS into
empty OIL DRUMS...
推荐答案
Grant Edwards写道:
Grant Edwards wrote:
让我们说我使用GPL''dthon模块(例如安装的东西)在应用程序中的站点包中。
Let''s say I use a GPL''d python module (e.g. something installed
in site-packages) in an application.
我会说使用GPL'模块的所有内容都是派生的工作,也必须是
GPL'了。你如何分发它并不重要。如果模块位于
LGPL之下,您可以在封闭的源应用程序中使用它,但必须对原始模块提供任何
更改。
>
Peter
I''d say everything that uses a GPL''d module is derived work and must also be
GPL''d. It doesn''t matter how you distribute it. If the module is under the
LGPL you could use it in a closed source app but must make available any
changes to the original module.
Peter
>假设我在一个应用程序中使用了一个GPL的python模块(例如在site-packages中安装了
> Let''s say I use a GPL''d python module (e.g. something installed
的东西)。
我们也说我也是使用py2exe打包并分发所说的
应用程序。
我正在分发一个衍生作品。 GPL'的python是什么?
或者是py2exe对模块'.pyc文件和我的
应用程序代码'.pyc文件的打包仅仅是聚合所以我只需要为GPL模块提供源代码,而不是为我的应用程序代码提供
我是否需要GPL我的应用程序代码和为它分发源代码?
in site-packages) in an application.
Let''s also say I use py2exe to package and distribute said
application.
Is what I''m distributing a "derived work" of the GPL''d python?
Or is py2exe''s packaging of the module''s .pyc file and my
application code''s .pyc files a "mere aggregation" so that I
only have to provide source code for the GPL''ed module and not
for my application code?
IOW, do I have to GPL my application code and distribute source
code for it?
我讨厌尝试回答这样的问题(IANAL等),但这里有......
如果您的代码导入了一个GPL模块,那么它是一个派生的工作,它以相同的方式链接到GPL库的C代码是派生的工作。如果您想要分发代码,那么您必须使用GPL兼容许可证。
py2exe对您能做什么和不能做什么没有任何区别。 />
Phil
I hate trying to answer questions like this (IANAL etc), but here goes...
If your code imports a GPL module then it is a derived work in the same
way that C code linked against a GPL library is a derived work. If you
want to distribute your code then you must use a GPL compatible license.
py2exe doesn''t make any difference to what you can and cannot do.
Phil
2004-10-25,Peter Otten< __ ******* @ web.de>写道:
On 2004-10-25, Peter Otten <__*******@web.de> wrote:
格兰特爱德华兹写道:
Grant Edwards wrote:
让我们说我使用GPL'的python模块(例如在网站上安装的东西
- 应用程序中的包 -
我会说使用GPL'模块的所有内容都是派生工作
并且也必须是GPL'。无论你如何分发
它。
Let''s say I use a GPL''d python module (e.g. something installed
in site-packages) in an application.
I''d say everything that uses a GPL''d module is derived work
and must also be GPL''d. It doesn''t matter how you distribute
it.
所以我的应用程序代码必须是GPL'即使我从未分发
模块?仅插入行的行为
" import someGPLdmodule"
使我的_source_code_成为派生作品,因此必须
GPL'了?这听起来不对。
如果模块在LGPL下,你可以在一个封闭的源应用程序中使用它,但必须对原始版本进行任何更改
模块。
So my application code must be GPL''d even if I never distribute
the module? The mere act of inserting the line
"import someGPLdmodule"
Makes my _source_code_ a derived work, and therefore must be
GPL''d? That just doesn''t sound right.
If the module is under the LGPL you could use it in a closed
source app but must make available any changes to the original
module.
-
格兰特爱德华兹格兰特哇! TAILFINS !! ...点击......
visi.com
--
Grant Edwards grante Yow! TAILFINS!!...click...
at
visi.com
这篇关于GPL和Python模块。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!