From 3d8c9272fb279dc5566796b16fe68d6d6b1674b1 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Sat, 14 Nov 2020 09:19:34 -0500 Subject: [PATCH] install: update and document new dependencies --- docs/installation.md | 4 ++++ setup.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index 41307d36..05343ebf 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -29,6 +29,10 @@ The Debian/Ubuntu packages that need to be installed are in Fedora you need `gtk3` and `python3-gobject`; if you're using another distribution the required packages are most likely named something similar. +The Solaar GUI also requires Python packages +`PyYAML` (>= 5.1), `python-xlib` (>= 0.27), `pynput` (>= 1.7.0), and `pustil` (>= 5.7.3). +These are best installed using `pip` via `pip install --user ` +if they are not already available. If desktop notifications bindings are also installed (`gir1.2-notify-0.7` for Debian/Ubuntu), diff --git a/setup.py b/setup.py index ee781e10..42e3cc7e 100755 --- a/setup.py +++ b/setup.py @@ -60,6 +60,10 @@ battery status, and show and modify some of the modifiable features of devices. python_requires='>=3.6', install_requires=[ 'pyudev (>= 0.13)', + 'PyYAML (>= 5.1)', + 'python-xlib (>= 0.27)', + 'pynput (>= 1.7.0)', + 'psutil (>= 5.7.3)', ], package_dir={'': 'lib'}, packages=['hidapi', 'logitech_receiver', 'solaar', 'solaar.ui', 'solaar.cli'],