It’s often the case that you’ll want specific packages installed in your development environment that you don’t want installed in your production environment.
Unit testing frameworks like pytest would be a good example of this. They need to be installed for development of the application, but they aren’t needed for the application to function in the production environment. pyvim, the text editor used in this course, is another example of a development-specific dependency.
Create a new text file called requirements_dev.txt with pyvim:
$ pyvim requirements_dev.txt
A requirements_dev file like this would include all the dependencies from the requirements.txt file, plus pytest for testing:
