May 2019
Intermediate to advanced
542 pages
13h 37m
English
Python programs often require packages outside the standard library to operate, and users will need to know what to install in order for your project to run. You can (and probably should) put this information in the README file, but you should also put it in requirements.txt.
The format for requirements.txt is one library per line, like so:
PyQt5PyQt5-sip
The library names in this file should match what is used in PyPI, as this file can then be used by pip to install all the required libraries for the project, like so:
$ pip install --user -r requirements.txt
Read now
Unlock full access