Ever wondered about when you should use a requirements.txt file or the “install_requires” section in your setup.py to specify your project’s dependencies? Then this article by Donald Stufft is exactly what you need.
This split between abstract and concrete is an important one.
… and this split is manifested in the Python world by the existence of requirements.txt and setup.py. Also: it is just good to not feel alone anymore when thinking that Go-lang’s dependency-management is rather tedious and to some degree broken since their default tool for resolving external libraries doesn’t really distinguish between pinned dependencies and those with a valid version range (yet).
Do you want to give me feedback about this article in private? Please send it to comments@zerokspot.com.
Alternatively, this website also supports Webmentions. If you write a post on a blog that supports this technique, I should get notified about your link π