forked from platypush/platypush
Fixes for readthedocs build
This commit is contained in:
parent
c08cac9679
commit
95b5820783
4 changed files with 13 additions and 7 deletions
|
@ -210,6 +210,15 @@ autodoc_mock_imports = ['googlesamples.assistant.grpc.audio_helpers',
|
|||
'nfc',
|
||||
'ndef',
|
||||
'bcrypt',
|
||||
'google',
|
||||
'feedparser',
|
||||
'kafka',
|
||||
'googlesamples',
|
||||
'icalendar',
|
||||
'httplib2',
|
||||
'mpd',
|
||||
'serial',
|
||||
'pyHS100',
|
||||
]
|
||||
|
||||
sys.path.insert(0, os.path.abspath('../..'))
|
||||
|
|
|
@ -4,5 +4,3 @@
|
|||
.. automodule:: platypush.plugins.assistant.google.pushtotalk
|
||||
:members:
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -34,8 +34,7 @@ class AssistantSnowboyBackend(Backend):
|
|||
|
||||
* **snowboy** (``pip install snowboy``)
|
||||
|
||||
Manual installation for snowboy and its Python bindings if the command above
|
||||
fails:
|
||||
Manual installation for snowboy and its Python bindings if the command above fails::
|
||||
|
||||
$ [sudo] apt-get install libatlas-base-dev swig
|
||||
$ [sudo] pip install pyaudio
|
||||
|
|
|
@ -37,9 +37,6 @@ class CameraPlugin(Plugin):
|
|||
* **opencv** (``pip install opencv-python``)
|
||||
"""
|
||||
|
||||
_default_frames_dir = os.path.join(Config.get('workdir'), 'camera',
|
||||
'frames')
|
||||
|
||||
_default_warmup_frames = 5
|
||||
_default_sleep_between_frames = 0
|
||||
_default_color_transform = 'COLOR_BGR2BGRA'
|
||||
|
@ -116,6 +113,9 @@ class CameraPlugin(Plugin):
|
|||
|
||||
super().__init__(**kwargs)
|
||||
|
||||
self._default_frames_dir = os.path.join(Config.get('workdir'), 'camera',
|
||||
'frames')
|
||||
|
||||
self.default_device_id = device_id
|
||||
self.frames_dir = os.path.abspath(os.path.expanduser(frames_dir))
|
||||
self.warmup_frames = warmup_frames
|
||||
|
|
Loading…
Reference in a new issue