I wish to make a python package I have written publicly available on GitHub as source code. I am being advised that I should add a NOTICE
detailing all the third-party packages that my code depends on. This notice should include the package names, their copyright notices, and their licenses. Note the dependencies here are made almost exclusively through python import
statements.
The rationale for this advice appears to be the requirements in clause 4 of the Apache license and the second paragraph of the MIT license regarding distribution. The advisor believes this covers any scenario where I require these third-party packages to be present for my software to run. However, this seems a very odd use of the word "distribution" to me as I am not bundling their code in source or binary form with my source code. At the most, I refer to the third-party packages in the import
statements, a python setup.py
file, and a requirements.txt
file.
Do the MIT and Apache licenses create this burden on any publicly available code that uses them?
Am I distributing or redistributing these third-party packages in a legal sense?
NOTICES
file and it is good to acknowledge the package authors' work. A bigger problem is whether I am distributing these packages in a legal sense as some of them have GPL dependencies. For examplenumpy
depends onlibgfortran
which is GPL (I know there is an exception but there are other similar examples). My advisor suggests I should remove such dependencies or else I cannot release my package under a permissive license.