From b55c070e46e462c98c3852161cc08171af1f7472 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 26 Jun 2018 23:19:35 +0200 Subject: [PATCH] Fixed missed dependencies for RTD build --- docs/source/conf.py | 8 ++++++++ platypush/plugins/calendar/ical.py | 4 ++++ requirements.txt | 22 +++++++++++++++++++++- 3 files changed, 33 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index bdf32d7a..564f8d56 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -180,6 +180,14 @@ intersphinx_mapping = {'https://docs.python.org/': None} # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True +autodoc_mock_imports = ['googlesamples.assistant.grpc.audio_helpers', + 'smartcard', + 'Leap', + 'oauth2client', + 'rtmidi', + 'bluetooth', + 'gevent.wsgi'] + sys.path.insert(0, os.path.abspath('../..')) def skip(app, what, name, obj, skip, options): diff --git a/platypush/plugins/calendar/ical.py b/platypush/plugins/calendar/ical.py index 1373355c..b924e50d 100644 --- a/platypush/plugins/calendar/ical.py +++ b/platypush/plugins/calendar/ical.py @@ -17,6 +17,10 @@ from platypush.plugins.calendar import CalendarInterface class IcalCalendarPlugin(Plugin, CalendarInterface): """ iCal calendars plugin. Interact with remote calendars in iCal format. + + Requires: + + * **icalendar** (``pip install icalendar``) """ def __init__(self, url, *args, **kwargs): diff --git a/requirements.txt b/requirements.txt index 6a03fb9c..b14394b0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -56,7 +56,8 @@ pylast # text2speech plugin: mplayer system package -# Video support on RaspberryPi: omxplayer system package +# Video support on RaspberryPi +omxplayer-wrapper # Custom hotword detection: Snowboy # snowboy @@ -76,3 +77,22 @@ pylast # Support for real-time MIDI events # rtmidi +# Support for inotify plugin +inotify + +# Support for MQTT +paho-mqtt + +# iCal calendars support +icalendar + +# Serial port support +pyserial + +# Switchbot devices support +# pybluez +# gattlib + +# Support for TP-Link HS100 and similar smart switches/plugins +pyHS100 +