It isn't possible to put this restriction on your code and still count as "open source", at least under the widely accepted open source definition.
The relevant paragraph:
Free Redistribution
The license shall not restrict any party from selling or giving away the software as a component of an aggregate software distribution containing programs from several different sources. The license shall not require a royalty or other fee for such sale.
i.e. if you want to count as open source, you have to allow others to sell your software either in its current form or as a derived / aggregate work.
If you want to be open source but still want a commercialisation option, one option is to release your software under a dual license, with one license being copyleft (like the GPLv3) and the other being a proprietary license. Others can then use your software under the terms of the GPL, but if they want to incorporate your software into a closed source software product they will need to buy your proprietary license.
Take a look at CC-BY-NC-SA, that is the Attribution-NonCommercial-ShareAlike license. (full Creative Commons Legal Code here) The Choose a license page too recommends the same with your requirements: No commercial uses, but with (attributed) modifications allowed.
Section 4.c. of this license specifically states:
You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation.
(Section 3 deals with copying/adapting/distributing etc.)
No matter which license you choose, I strongly recommend going through the Creative Commons FAQ.
发布评论
评论(3)
不可能对您的代码施加此限制,并且仍然算作“开源”,至少在广泛接受的 开源定义。
相关段落:
即,如果您想算作开源,您必须允许其他人以当前形式或作为派生/聚合作品出售您的软件。
如果您想要开源但仍想要商业化选项,一种选择是在双重许可证下发布您的软件,其中一个许可证是 Copyleft(如 GPLv3),另一个是专有许可证。其他人可以根据 GPL 条款使用您的软件,但如果他们想将您的软件合并到闭源软件产品中,他们将需要购买您的专有许可证。
It isn't possible to put this restriction on your code and still count as "open source", at least under the widely accepted open source definition.
The relevant paragraph:
i.e. if you want to count as open source, you have to allow others to sell your software either in its current form or as a derived / aggregate work.
If you want to be open source but still want a commercialisation option, one option is to release your software under a dual license, with one license being copyleft (like the GPLv3) and the other being a proprietary license. Others can then use your software under the terms of the GPL, but if they want to incorporate your software into a closed source software product they will need to buy your proprietary license.
为什么不是这个:
Why not this one:
看看CC-BY-NC-SA,那就是< em>署名-非商业性-相同方式共享许可证。 (完整的知识共享法律法规此处)选择许可证页面也建议与您的要求相同:禁止商业用途,但允许(归属)修改。
第 4.c 节。该许可证的具体规定:
(第 3 条)处理复制/改编/分发等)
无论您选择哪种许可证,我强烈建议您阅读知识共享常见问题解答。
Take a look at CC-BY-NC-SA, that is the Attribution-NonCommercial-ShareAlike license. (full Creative Commons Legal Code here) The Choose a license page too recommends the same with your requirements: No commercial uses, but with (attributed) modifications allowed.
Section 4.c. of this license specifically states:
(Section 3 deals with copying/adapting/distributing etc.)
No matter which license you choose, I strongly recommend going through the Creative Commons FAQ.