From 83e6c24f18d5457fa90543e9e8bde2e7e89bf46f Mon Sep 17 00:00:00 2001
From: Paulus Schoutsen <paulus@paulusschoutsen.nl>
Date: Sat, 24 Oct 2015 11:27:47 -0700
Subject: [PATCH] Re-enable Z-Wave for Docker

---
 Dockerfile                    | 11 +++++------
 script/build_python_openzwave |  4 ++--
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 9554ec552d7..9344ec65245 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,11 +10,10 @@ RUN apt-get update && \
     apt-get install -y --no-install-recommends nmap net-tools && \
     apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
 
-# Open Z-Wave disabled because broken
-#RUN apt-get update && \
-#    apt-get install -y cython3 libudev-dev && \
-#    apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
-#    pip3 install cython && \
-#    scripts/build_python_openzwave
+RUN apt-get update && \
+   apt-get install -y cython3 libudev-dev && \
+   apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
+   pip3 install "cython<0.23" && \
+   script/build_python_openzwave
 
 CMD [ "python", "-m", "homeassistant", "--config", "/config" ]
diff --git a/script/build_python_openzwave b/script/build_python_openzwave
index 02c088fca44..029fd7873e6 100755
--- a/script/build_python_openzwave
+++ b/script/build_python_openzwave
@@ -1,7 +1,7 @@
 # Sets up and builds python open zwave to be used with Home Assistant
-# Dependencies that need to be installed: 
+# Dependencies that need to be installed:
 # apt-get install cython3 libudev-dev python-sphinx python3-setuptools
-# pip3 install cython
+# pip3 install "cython<0.23"
 
 cd "$(dirname "$0")/.."
 
-- 
GitLab