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:
$ npm intall --dev
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:
$ pip install -e .
To install the
develop set of dependencies you can run:
$ pip install -e .[develop]
As you can see, you can have multiple sets of extra dependencies and call them
whatever you want.