jaseg / python-mpv

Python interface to the awesome mpv media player
https://git.jaseg.de/python-mpv.git
Other
532 stars 67 forks source link

Contradictory license information #206

Closed mgorny closed 1 year ago

mgorny commented 2 years ago

Right now the project has some contradictory information regarding its license:

Could you please clarify which one is correct, and fix the remaining instances?

jaseg commented 2 years ago

True, I typo'ed the one in setup.py. Originally, python-mpv was licensed under AGPLv3+. I have since changed over the license to match mpv's license, which is your choice of GPLv2+ or LGPLv2+. I'll fix setup.py to say GPLv2+, since I don't know how to set multiple licenses there.

ChrisLambert1 commented 2 years ago

Another question, why not referring the possibility of lgpl in the mpv.py File. As far as I understood the license text stated in GitHub it depends on the build process of mplayer?! In the end the question is, if I use a LGPL version of mPlayer, is the mpv.py also under LGPL available?

jaseg commented 2 years ago

Yes, that is correct. When you use it along an LGPL libmpv, python-mpv is also LGPL.

ChrisLambert1 commented 2 years ago

Thank you for that answer, but as an improval it would be great, if this would be stated in the header of the mpv.py file.

It will be appreciated, if there would be a reference that it is possible to use your module under LGPL, depending on the used license for mplayer. So why not just putting a brief intro in the header of mpv.py, as it's done in your GitHub repository -> License: " python-mpv inherits the underlying libmpv's license, which can be either GPLv2 or later (default) or LGPLv2.1 or later. For details, see the mpv copyright page. " and extend it by: "Depending on the license used in combination with mplayer, the same license is applicable for this piece of code." "Uses license agreements could be found in: License.GPL or License.LGPL "

Or make it easier:

Just extend / enter a header (s. epydoc definition) after the module description in the mpv.py file including possible licenses:

author = "You" copyright = "Copyright 2007, The Project" credits = ["to who is involved"] license = "GPLv2+", "LGPLv2+" version = "x.x.x" maintainer = "***" email = "myMail" status = "Release"

Regards, Chris