dist: require Python 3.6

This commit is contained in:
Peter F. Patel-Schneider 2020-07-20 12:17:44 -04:00
parent 95893f3aac
commit 07b42e2b34
2 changed files with 4 additions and 3 deletions

View File

@ -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 Installing Solaar from a repository should have set up all these requirements
so in this situation you should be able to skip this section. 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 `hid-logitech-hidpp` loaded. Also, the `udev` package must be installed
and its daemon running. If you have a recent Linux distribution, you are and its daemon running. If you have a recent Linux distribution, you are
most likely good to go. most likely good to go.
Solaar requires Python 3.2+ Solaar requires Python 3.6+
and the `python3-pyudev` package. and the `python3-pyudev` package.
To run the GUI, solaar also requires Gtk3, and its GObject To run the GUI, solaar also requires Gtk3, and its GObject
introspection bindings. introspection bindings.

View File

@ -57,7 +57,7 @@ battery status, and show and modify some of the modifiable features of devices.
# sudo apt install python-gi python3-gi \ # sudo apt install python-gi python3-gi \
# gir1.2-gtk-3.0 gir1.2-notify-0.7 gir1.2-ayatanaappindicator3-0.1 # 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)'], # os_requires=['gi.repository.GObject (>= 2.0)', 'gi.repository.Gtk (>= 3.0)'],
python_requires='>=3.5', python_requires='>=3.6',
install_requires=[ install_requires=[
'pyudev (>= 0.13)', 'pyudev (>= 0.13)',
], ],