I created a setup.py
and setup.cfg
like explained in the Django docs.
Now I am unsure how to add dependencies to my project.
If someone installs my code, other tools like Pillow should automatically get installed.
I read that install_requires
is the right way (not requirements.txt
), but how to specify this?
The file setup.py
looks pretty generic, and all content is in setup.cfg
.
But examples I see all have their list of dependencies in setup.py
via install_requires
.
How to specify the dependencies of a Django project?