Let's say I'm making a library called X, which has a dependency on requests (which is under the Apache 2.0 license). For X's
setup.py, I declare the following:
setup( ... install_requires=[ 'requests>=2.19.1', ... ] )
Now obviously, I understand that the terms of the Apache License state that I need to include the license, state changes, include copyright, etc. However, since I'm not exactly including the dependency myself (the end user installs it when running
pip install X), does this really apply?
In addition, taking the example of requests itself, I notice that it has numerous dependencies, but no licenses seem to be included in the repository itself. Other libraries follow similar practices (not including their dependencies' licenses).
Do I need to include the licenses for dependencies declared in a setup.py?