From 94ffaf2099c873e62d11127fe60291326205185b Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 26 Jun 2018 01:06:23 +0200 Subject: [PATCH] Commented out optional requirements that break RTD build --- platypush/backend/midi.py | 3 +-- requirements.txt | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/platypush/backend/midi.py b/platypush/backend/midi.py index 43f40921e..e4f08630b 100644 --- a/platypush/backend/midi.py +++ b/platypush/backend/midi.py @@ -1,8 +1,6 @@ import json import time -import rtmidi - from threading import Timer from platypush.backend import Backend @@ -36,6 +34,7 @@ class MidiBackend(Backend): :type midi_throttle_time: int """ + import rtmidi super().__init__(*args, **kwargs) if (device_name and port_number is not None) or \ diff --git a/requirements.txt b/requirements.txt index 0c4d774de..b50565e47 100644 --- a/requirements.txt +++ b/requirements.txt @@ -59,7 +59,7 @@ pylast # Video support on RaspberryPi: omxplayer system package # Custom hotword detection: Snowboy -snowboy +# snowboy # Support for the RaspberryPi camera module # apt install python3-picamera @@ -71,8 +71,8 @@ snowboy pyscard # Support for MCP3008 analog-to-digital converter plugin -adafruit-mcp3008 +# adafruit-mcp3008 # Support for real-time MIDI events -rtmidi +# rtmidi