CLI for SidePulse
Python
Install fix
Peter Kuhar91cbf9bdcdfd
diff --git a/README.md b/README.mdindex 9bc1b6d..94ad686 100644--- a/README.md+++ b/README.md@@ -203,11 +203,7 @@ Install locally for the `sidepulse` CLI:python3 -m pip install -e .```-To use the macOS status-bar app, install its Cocoa extra:--```sh-python3 -m pip install -e ".[status-bar]"-```+This also installs the Cocoa dependencies for the macOS status-bar app.Set up this Mac explicitly after package install:diff --git a/packaging/build_macos_pkg.sh b/packaging/build_macos_pkg.shindex 102b052..131241d 100755--- a/packaging/build_macos_pkg.sh+++ b/packaging/build_macos_pkg.sh@@ -27,7 +27,7 @@ rm -rf "$BUILD_DIR"mkdir -p "$BUILD_DIR" "$DIST_DIR"python3 -m venv "$VENV_DIR""$VENV_DIR/bin/python" -m pip install --upgrade pip-"$VENV_DIR/bin/python" -m pip install 'pyinstaller>=6.10' "$ROOT_DIR[status-bar]"+"$VENV_DIR/bin/python" -m pip install 'pyinstaller>=6.10' "$ROOT_DIR""$VENV_DIR/bin/pyinstaller" \--noconfirm --clean --windowed \diff --git a/pyproject.toml b/pyproject.tomlindex f4e6577..8b13912 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -27,7 +27,10 @@ classifiers = ["Topic :: System :: Monitoring","Topic :: Utilities",]-dependencies = []+dependencies = [+ "pyobjc-framework-Cocoa>=10; sys_platform == 'darwin'",+ "pyobjc-framework-WebKit>=10; sys_platform == 'darwin'",+][project.urls]Homepage = "https://sidepulse.io"@@ -35,7 +38,9 @@ Repository = "https://github.com/inteliwear/sidepulse"Issues = "https://github.com/inteliwear/sidepulse/issues"[project.optional-dependencies]-status-bar = ["pyobjc-framework-Cocoa>=10", "pyobjc-framework-WebKit>=10"]+# Kept for backwards compatibility; the status-bar dependencies are installed by+# default now, so this extra is a no-op alias.+status-bar = []reply-classifier = ["mlx-lm>=0.24,<1"][project.scripts]