WIP: setup.py: Add plugin requirements as extras
Currently, there isn't an easy way to install BuildStream along with its plugin dependencies, using pip.
Add plugin requirements as extras
(https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies)
so that they can be installed by specifying the relevant extras to
pip
.
This repository has only one plugin - deb
source - that has external
dependencies, i.e. arpy
. With this patch, one should be able to
install BuildStream and dependencies for the deb
plugin using
something like pip instal BuildStream[deb]
.
Edited by Chandan Singh