SetupTools has a `extras_require` param which can be added in `setup.py`. see the [SetupTools doc](http://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-extras-optional-features-with-their-own-dependencies) Optionnal dependencies are listed in the [pybb doc](http://pybbm.readthedocs.io/en/latest/install.html#optional-dependencies) and are currently: `pure_pagination`, `PIL`, `sorl`.