Posts
read more
Creating a Python requirements.txt File
This can be done quickly by typing:
$ pip freeze >requirements.txt
at the command line.
To install packages using a requirements file just use pip:
$ pip install -r requirements.txt
To check if the packages in your requirements.txt file are up-to-date use:
$ pip list --outdated
and to update those packages:
$ pip install -U <packagename>