15

Say I'm writing a small GPLv3 licensed Python script that I want to release publicly. It would use a few MIT licensed libraries and maybe also some chunks of code from some MIT licensed projects.

As per the MIT license conditions I would have to include the MIT license text in my project. So how would that be done properly? And how about other licenses that require the license text to be included?

Sorry if this has already been answered a million times. I'm relatively new to this stuff and I find the licenses really hard to understand despite my attempts. I tried to also use some other open source projects as examples, but most of them don't seem to include the license texts anywhere but the readme files at least seem to state which libraries they use.

you are viewing a single comment's thread
view the rest of the comments
[-] bluewhale_@lemmy.ml 1 points 1 day ago

Thanks! So if I simply use pip to get some libraries for my project, do I need to include the licenses (e.g. MIT) somewhere in my source code?

How about if I statically link them by building a executable that contains everything in a single file, so the user doesn't have to install Python and all the libraries separately?

this post was submitted on 05 Jul 2026
15 points (94.1% liked)

Open Source

47722 readers
85 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 6 years ago
MODERATORS