Including Python standard libraries in your distribution [closed]

主宰稳场 提交于 2020-12-08 06:54:30

问题


For a project I'm working on I need to include some Python modules that come standard with the Python SDK because the platform I am targetting (to be precise, PyS60) does not include these modules. Are there any licensing issues I need to address? Do I need to include the PSF license in my project?

My project is licensed under Apache 2.0.


回答1:


According to the PSF License FAQ:

Can I bundle Python with my non-open-source application?

Yes. Unlike some open source licenses, the PSF License allows Python to be included in non-open applications, either in unmodified or modified form.

The FAQ goes on to explain about third-party module licensing.

In effect, I think the answer is 'Yes'.

DISCLAIMER: IANAL.




回答2:


The python license is very open.

Python License

  • Python is absolutely free, even for commercial use (including resale). You can sell a product written in Python or a product that embeds the Python interpreter. No licensing fees need to be paid for such usage.

  • The Open Source Initiative has certified the Python license as Open Source, and includes it on their list of open source licenses.

  • There is no GPL-like "copyleft" restriction. Distributing binary-only versions of Python, modified or not, is allowed. There is no requirement to release any of your source code. You can also write extension modules for Python and provide them only in binary form. However, the Python license is compatible with the GPL, according to the Free Software Foundation.

  • You cannot remove the PSF's copyright notice from either the source code or the resulting binary.



来源:https://stackoverflow.com/questions/688096/including-python-standard-libraries-in-your-distribution

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!