* PushbulletBackend.send_msg method refactored and removed pushbullet.py dependency

* Management of optional dependencies moved to setup.py
This commit is contained in:
Fabio Manganiello 2017-12-12 20:14:02 +01:00
parent 4b0706380e
commit f7202fd205
4 changed files with 38 additions and 22 deletions

View file

@ -58,7 +58,15 @@ setup(
],
install_requires = [
'pyyaml',
'requires',
'websocket-client',
],
extras_require = {
'Support for Apache Kafka backend': ['kafka-python'],
'Support for Pushbullet backend': ['requests', 'websocket-client'],
'Support for Philips Hue plugin': ['phue'],
'Support for MPD/Mopidy music server plugin': ['mpd'],
'Support for Belkin WeMo Switch plugin': ['ouimeaux'],
},
)