From 7c2d92c55d16dfdea9f980af86b80c65c93a9932 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 28 Feb 2015 09:09:32 -0800 Subject: [PATCH] Update zwave related scripts --- scripts/build_python_openzwave | 5 +++-- scripts/dev_openzwave_docker | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/build_python_openzwave b/scripts/build_python_openzwave index a5810eb784d..25b71ac3bf5 100755 --- a/scripts/build_python_openzwave +++ b/scripts/build_python_openzwave @@ -8,13 +8,14 @@ if [ ${PWD##*/} == "scripts" ]; then cd .. fi -cd .. +mkdir build +cd build # We need to install louie here or else python-openzwave install # will download louie from PIP and that one is not compatible with Python 3 git clone https://github.com/balloob/louie.git cd louie -python setup.py install +python3 setup.py install cd .. hg clone https://code.google.com/r/balloob-python-openzwave/ diff --git a/scripts/dev_openzwave_docker b/scripts/dev_openzwave_docker index 9e9d5ba5441..f27816a8e39 100755 --- a/scripts/dev_openzwave_docker +++ b/scripts/dev_openzwave_docker @@ -1,5 +1,5 @@ # Open a docker that can be used to debug/dev python-openzwave -# Pass in a command line argument to skip build +# Pass in a command line argument to build # If current pwd is scripts, go 1 up. if [ ${PWD##*/} == "scripts" ]; then @@ -14,5 +14,6 @@ fi docker run \ --device=/dev/ttyUSB0:/zwaveusbstick:rwm \ -v `pwd`:/usr/src/app \ + -p 8123:8123 \ -t -i home-assistant-dev \ /bin/bash