From 112b85877f58e87a08726efd8c32b5f80cd502a4 Mon Sep 17 00:00:00 2001 From: ntouran Date: Sun, 28 Feb 2016 12:40:17 -0800 Subject: [PATCH] updated build script for unforking of python-openzwave --- script/build_python_openzwave | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/script/build_python_openzwave b/script/build_python_openzwave index 029fd7873e6..1653bb96330 100755 --- a/script/build_python_openzwave +++ b/script/build_python_openzwave @@ -1,7 +1,6 @@ # Sets up and builds python open zwave to be used with Home Assistant # Dependencies that need to be installed: -# apt-get install cython3 libudev-dev python-sphinx python3-setuptools -# pip3 install "cython<0.23" +# apt-get install cython3 libudev-dev python3-sphinx python3-setuptools cd "$(dirname "$0")/.." @@ -16,12 +15,10 @@ if [ -d python-openzwave ]; then git pull --recurse-submodules=yes git submodule update --init --recursive else - git clone --recursive https://github.com/balloob/python-openzwave.git + git clone --recursive https://github.com/OpenZWave/python-openzwave.git cd python-openzwave fi -# Fix an issue with openzwave -sed -i '253s/.*//' openzwave/cpp/src/value_classes/ValueID.h - -./compile.sh --python3 -./install.sh --python3 +git checkout python3 +PYTHON_EXEC=`which python3` make build +sudo PYTHON_EXEC=`which python3` make install \ No newline at end of file