V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
exoticknight
V2EX  ›  问与答

开发使用了 pyqt 的软件里究竟应该使用何种授权?

  •  
  •   exoticknight · 2014-02-19 01:12:38 +08:00 · 5240 次点击
    这是一个创建于 3713 天前的主题,其中的信息可能已经有所发展或是发生改变。
    软件情况是这样的:
    软件是用python写的;
    基于pyqt和pyqtgraph,因为有gui;
    没有对使用的这些库进行过代码修改,仅仅只是依赖这些库(发布的时候无需包含这些库);
    代码中有对pyqt和pyqtgraph里面的类进行了继承。

    问题是:
    在py文件里面应该直接声明使用gpl授权?

    为什么出现这问题:
    我不想使用gpl授权,我想使用lgpl或者MIT;
    gpl授权我看了,也Google过相关问题,似乎有观点认为使用python和使用C的情况并不一样
    6 条回复    2016-01-14 21:12:13 +08:00
    Sylv
        1
    Sylv  
       2014-02-19 04:59:18 +08:00
    PyQt是GPL授权的,你想用LGPL授权的话,应该得改用为PySide。
    exoticknight
        2
    exoticknight  
    OP
       2014-02-20 17:40:03 +08:00
    @Sylv 于是你的意思是即使我的软件只是单纯依赖这些库,也会被GPL传染咯?
    Sylv
        3
    Sylv  
       2014-02-21 03:04:19 +08:00
    @exoticknight 按我的理解应该是会被传染的
    以下摘自 http://goo.gl/w2vHNv ,供参考:
    PyQt, however, currently only has two licensing options (unless you negotiate something else with its developers, which would not ordinarily be practical). It is available under the GPL--then to distribute your program it would have to be free open source software; more specifically, any version of your program that you offer to others and that uses the PyQt library would have to be licensed under the GPL as well.
    exoticknight
        4
    exoticknight  
    OP
       2014-02-21 10:15:17 +08:00
    @Sylv 看来很多东西实际上很难说清楚,我看看是否转Pyside去。谢谢:)
    liubenyuan
        5
    liubenyuan  
       2016-01-13 17:15:19 +08:00
    而仅仅使用 pyqtgraph 是 LGPL 的?
    exoticknight
        6
    exoticknight  
    OP
       2016-01-14 21:12:13 +08:00
    @liubenyuan
    似乎是 MIT
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2628 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 01:55 · PVG 09:55 · LAX 18:55 · JFK 21:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.