Increase minimum version requirements for Python and Gtk
Python: 3.8 Gtk: 3.24
This commit is contained in:
parent
b41969c4c2
commit
b23a2138b0
@ -14,13 +14,13 @@ Requirements
|
|||||||
============
|
============
|
||||||
The following packages **MUST** be installed in order for Gramps to work:
|
The following packages **MUST** be installed in order for Gramps to work:
|
||||||
|
|
||||||
* **Python** 3.5 or greater - The programming language used by Gramps. https://www.python.org/
|
* **Python** 3.8 or greater - The programming language used by Gramps. https://www.python.org/
|
||||||
* **GTK** 3.12 or greater - A cross-platform widget toolkit for creating graphical user interfaces. http://www.gtk.org/
|
* **GTK** 3.24 or greater - A cross-platform widget toolkit for creating graphical user interfaces. http://www.gtk.org/
|
||||||
* **pygobject** 3.12 or greater - Python Bindings for GLib/GObject/GIO/GTK+ https://wiki.gnome.org/Projects/PyGObject
|
* **pygobject** 3.12 or greater - Python Bindings for GLib/GObject/GIO/GTK+ https://wiki.gnome.org/Projects/PyGObject
|
||||||
|
|
||||||
The following three packages with GObject Introspection bindings (the gi packages)
|
The following three packages with GObject Introspection bindings (the gi packages)
|
||||||
|
|
||||||
* **cairo** 1.13.1 or greater - a 2D graphics library with support for multiple output devices. http://cairographics.org/
|
* **cairo** 1.14.0 or greater - a 2D graphics library with support for multiple output devices. http://cairographics.org/
|
||||||
* **Pycairo** 1.13.3 or greater - GObject Introspection bindings for cairo. https://github.com/pygobject/pycairo
|
* **Pycairo** 1.13.3 or greater - GObject Introspection bindings for cairo. https://github.com/pygobject/pycairo
|
||||||
* **pango** - a library for laying out and rendering of text, with an emphasis on internationalization. http://www.pango.org/
|
* **pango** - a library for laying out and rendering of text, with an emphasis on internationalization. http://www.pango.org/
|
||||||
* **pangocairo** - Allows you to use Pango with Cairo http://www.pango.org/
|
* **pangocairo** - Allows you to use Pango with Cairo http://www.pango.org/
|
||||||
|
@ -184,7 +184,7 @@ from .gen.mime import mime_type_is_defined
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
MIN_PYTHON_VERSION = (3, 5, 0, '', 0)
|
MIN_PYTHON_VERSION = (3, 8, 0, '', 0)
|
||||||
if not sys.version_info >= MIN_PYTHON_VERSION:
|
if not sys.version_info >= MIN_PYTHON_VERSION:
|
||||||
logging.warning(_("Your Python version does not meet the "
|
logging.warning(_("Your Python version does not meet the "
|
||||||
"requirements. At least Python %(v1)d.%(v2)d.%(v3)d is needed to"
|
"requirements. At least Python %(v1)d.%(v2)d.%(v3)d is needed to"
|
||||||
|
@ -51,7 +51,7 @@ _ = glocale.translation.gettext
|
|||||||
|
|
||||||
MIN_PYGOBJECT_VERSION = (3, 12, 0)
|
MIN_PYGOBJECT_VERSION = (3, 12, 0)
|
||||||
PYGOBJ_ERR = False
|
PYGOBJ_ERR = False
|
||||||
MIN_GTK_VERSION = (3, 12)
|
MIN_GTK_VERSION = (3, 24)
|
||||||
UIDEFAULT = (
|
UIDEFAULT = (
|
||||||
'''<?xml version="1.0" encoding="UTF-8"?>
|
'''<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<interface>
|
<interface>
|
||||||
|
Loading…
Reference in New Issue
Block a user