Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Including Python standard libraries in your distribution [closed]

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.

like image 838
Wayne See Avatar asked Mar 27 '09 00:03

Wayne See


People also ask

Does Python include standard library?

The Python installers for the Windows platform usually include the entire standard library and often also include many additional components.

What are Python standard libraries?

The Python Standard Library is a collection of script modules accessible to a Python program to simplify the programming process and removing the need to rewrite commonly used commands. They can be used by 'calling/importing' them at the beginning of a script.

Where is Python standard library installed?

Usually the Python library is located in the site-packages folder within the Python install directory, however, if it is not located in the site-packages folder and you are uncertain where it is installed, here is a Python sample to locate Python modules installed on your computer.


1 Answers

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.

like image 121
Swaroop C H Avatar answered Nov 15 '22 08:11

Swaroop C H