July 2017
Beginner to intermediate
340 pages
7h 43m
English
One standard that emerged from the PIP community is to use a requirements.txt file,which lists all the project dependencies, but also proposes an extended syntax to install editable dependencies. Refer to https://pip.readthedocs.io/en/stable/reference/pip_install/#requirements-file-format.
The following is an example of such a file:
arrow python-dateutil pytz requests six stravalib units
Using this file has been widely adopted by the community, because it makes it easier to document your dependencies. You can create as many requirements files as you want in a project, and have your users call the pip install -r thefile.txt command to install the packages described in them.
For instance, you could have a dev-requirements.txt ...
Read now
Unlock full access