I have package \"A\" with a setup.py and an extras_requires line like:
extras_require = { \'ssh\': [\'paramiko\'], },
And a package \"
The answer from @aaronfay is completely correct but it may be nice to point out that if you're using zsh that the install command pip install -e .[dev] needs to be replaced by pip install -e ".[dev]".
zsh
pip install -e .[dev]
pip install -e ".[dev]"