One of the things I enjoy about building projects with nodejs
is using npm, specifically the
devDependencies part of
package.json. This allows you to have one set of dependencies that are
installed in production, but have extra dependencies installed for development,
such as test libraries, deploy tools, etc. To get the development dependencies
npm you run:
It turns out if you are using
pip 1.2 or newer, you can now do the same thing
setup.py file for Python packages.
To install this normally (in “edit” mode) you’d run:
To install the
develop set of dependencies you can run:
As you can see, you can have multiple sets of extra dependencies and call them
whatever you want.