I came across a python library which has docs, which start like this:
Quickstart
Include foolib in your requirements.txt file.
AFAIK dependencies should be specified via install_requires in setup.py.
Should I talk the maintainer of the library and create a pull-request for the docs?
Both are acceptable. The difference is that specifying something in your
install_requireswill auto-download / install that package when you install the package using setup.py. Having arequirements.txtmakes it easier to see at a glance what the requirements are. I personally prefer seeing libraries with arequirements.txt, since I can install all those requirements withpipinto my virtualenv and be able to update them quickly if needed.