From 19f4653529f27e9b2a60bc99cbda384ea3702f60 Mon Sep 17 00:00:00 2001 From: Ben Francis Date: Tue, 12 Nov 2024 21:56:52 +0000 Subject: [PATCH] DBus macOS README --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 383652920..9ebf3568e 100644 --- a/README.md +++ b/README.md @@ -91,11 +91,19 @@ $ brew update $ brew install \ autoconf \ libffi \ - pkg-config -$ sudo -H python2 -m pip install six + pkg-config \ + python@3.10 \ + dbus $ sudo -H python3 -m pip install git+https://github.com/WebThingsIO/gateway-addon-python#egg=gateway_addon ``` +To get DBus to build properly, you currently need to symlink `python` to `python3` if a python binary is not already available. E.g. + +``` +$ echo 'export PATH=/opt/homebrew/opt/python@3.10/libexec/bin:$PATH' >> ~/.zprofile +$ source ~/.zprofile +``` + ### Install Node.js #### nvm (Recommended)