python 2.6 and later

svn: r16267
This commit is contained in:
Jérôme Rapinat 2010-12-12 10:19:51 +00:00
parent 02ba28a83f
commit 453cf6205f
3 changed files with 4 additions and 4 deletions

View File

@ -40,9 +40,9 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Define to the Gettext pa
AM_GLIB_GNU_GETTEXT AM_GLIB_GNU_GETTEXT
dnl Checks for programs. dnl Checks for programs.
dnl We first only check for python >= 2.5 dnl We first only check for python >= 2.6
AM_PATH_PYTHON(2.5) AM_PATH_PYTHON(2.6)
AC_PATH_PROG(BINSH, sh) AC_PATH_PROG(BINSH, sh)
pygtk_require=" pygtk_require="

View File

@ -89,7 +89,7 @@ LOG.debug('Using locale:', locale.getlocale())
# #
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
MIN_PYTHON_VERSION = (2, 5, 0, '', 0) MIN_PYTHON_VERSION = (2, 6, 0, '', 0)
if not sys.version_info >= MIN_PYTHON_VERSION : if not sys.version_info >= MIN_PYTHON_VERSION :
print (_("Your Python version does not meet the " print (_("Your Python version does not meet the "
"requirements. At least python %d.%d.%d is needed to" "requirements. At least python %d.%d.%d is needed to"

View File

@ -32,7 +32,7 @@
!define GRAMPS_BUILD_PATH $%GRAMPS_BUILD_DIR% !define GRAMPS_BUILD_PATH $%GRAMPS_BUILD_DIR%
!define GRAMPS_OUT_PATH $%GRAMPS_OUT_DIR% !define GRAMPS_OUT_PATH $%GRAMPS_OUT_DIR%
!define MIN_PYTHON_VERSION "2.5.4" !define MIN_PYTHON_VERSION "2.6.0"
!define MIN_GTK_VERSION "2.12.9" !define MIN_GTK_VERSION "2.12.9"
!define MIN_PYGTK_VERSION "2.12.1" !define MIN_PYGTK_VERSION "2.12.1"
!define MIN_GOBJECT_VERSION "2.12.3" !define MIN_GOBJECT_VERSION "2.12.3"