Development dependencies
You need to include a requirements file which includes all of the versions of packages used during development. This means any bugs can be reproduced, and ensures you and anyone else working on your package have the exact same versions of other packages.
This is different to the install_requires
parameter which tries to allow as many dependency versions as possible. The install_requires
is for users and the requirements.txt
is for developers.
This exercise is part of the course
Developing Python Packages
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
