I'm learning pipenv and there's something I don't quite understand. Apparently your Pipfile can contain two sections:
[packages]
...
[dev-packages]
....
As I understand it, the packages section is where the packages that you install are listed. But what is the dev-packages section for? How is it different from the packages section?
This section is for development requirements. So stuff like linters, unit test libraries, etc. All that is not needed on user's machine.
To install package as dev-requirement add -d
to install
command, to install the dev-requirements section add -d
to sync
command.