为自己的开源程序添加最受欢迎的开源许可证之一MIT License,按照下面步骤5分钟即可完成。
官网条款全文
条款全文网址:https://opensource.org/licenses/MIT
MIT License版权方不明,因此无正式官网,在此推荐开源组织的地址。
另一个看起来像官网是由个人开源贡献者提供的:https://www.mit-license.org/
如何应用到开源程序中
-
将下文拷贝保存到LICENSE文件中(或NOTICE,建议两个都有)。
下文为官网拷贝下来的内容,建议从官网拷贝。
Copyright <YEAR> <COPYRIGHT HOLDER>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to