python-midi icon indicating copy to clipboard operation
python-midi copied to clipboard

Permission to use constants.py?

Open AvivC opened this issue 8 years ago • 4 comments

Hello :)

May I use the file constants.py as is in an open source project of mine? Please let me know if the issue tracker isn't the place for this question.

Thank you

AvivC avatar Oct 15 '16 14:10 AvivC

Well, according to the license file, it is a MIT license, you can do whatever you want with it as long as you release your project with the same license and put the license (as a text or a file) along with it.

MaurizioB avatar Oct 15 '16 15:10 MaurizioB

I read the MIT license. Does it mean that I need to credit you in the file I'm taking from you? Or does it mean my project has to be MIT too?

AvivC avatar Oct 15 '16 22:10 AvivC

Read it carefully, it says that you have permission to copy, modify, merge, publish, distribute, sublicense, and/or sell, subject to the condition that the copyright notice (the "Copyright (c) year/author[s]" text on the top of the license) and permission (the remaining part of the license text) are included in your project. So, there's no restriction in the license you use for your software (as specified above, you can even sell it), but you must specify the license for the portions of python-midi project you are going to use. Including the license text (along with the header copyright notice) as a comment in the constants.py file should be enough. Anyway, it's just a constant declaration file, there's no real functionality in it, I sincerely doubt somebody will ever argue about that; but there's nothing wrong in doing it. Ah, by the way, I'm not the author, I'm just a commenter :)

MaurizioB avatar Oct 15 '16 23:10 MaurizioB

As the author, I say: go for it.

vishnubob avatar Oct 17 '16 12:10 vishnubob