From 07b42e2b3455c1053b58e3af1f673f732a273201 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Mon, 20 Jul 2020 12:17:44 -0400 Subject: [PATCH] dist: require Python 3.6 --- docs/installation.md | 5 +++-- setup.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 15aca428..7d894d3e 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -16,12 +16,13 @@ Clone solaar from GitHub via `git clone https://github.com/pwr-Solaar/Solaar.git Installing Solaar from a repository should have set up all these requirements so in this situation you should be able to skip this section. -Solaar needs a reasonably new kernel (5.0+ should work fine), with kernel modules `hid-logitech-dj` +Solaar needs a reasonably new kernel (5.2+ should work fine and recent CentOS distributions are likely to work), +with kernel modules `hid-logitech-dj` and `hid-logitech-hidpp` loaded. Also, the `udev` package must be installed and its daemon running. If you have a recent Linux distribution, you are most likely good to go. -Solaar requires Python 3.2+ +Solaar requires Python 3.6+ and the `python3-pyudev` package. To run the GUI, solaar also requires Gtk3, and its GObject introspection bindings. diff --git a/setup.py b/setup.py index 914ac38e..a76413e8 100755 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ battery status, and show and modify some of the modifiable features of devices. # sudo apt install python-gi python3-gi \ # gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-ayatanaappindicator3-0.1 # os_requires=['gi.repository.GObject (>= 2.0)', 'gi.repository.Gtk (>= 3.0)'], - python_requires='>=3.5', + python_requires='>=3.6', install_requires=[ 'pyudev (>= 0.13)', ],