python-midi
python-midi copied to clipboard
Permission to use constants.py?
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
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.
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?
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 :)
As the author, I say: go for it.