[gnome-schedule] Prefer Python 2 since pygtk doesn't support Python 3 yet.
- From: Gaute Hope <gauteh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-schedule] Prefer Python 2 since pygtk doesn't support Python 3 yet.
- Date: Sat, 29 Jan 2011 14:10:24 +0000 (UTC)
commit 9354232258dad66c66fa5110ec9a90c1660984cb
Author: Gaute Hope <eg gaute vetsj com>
Date: Sat Jan 29 15:09:00 2011 +0100
Prefer Python 2 since pygtk doesn't support Python 3 yet.
configure.ac | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 246ec9a..8e1b9fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,6 +3,8 @@ AM_INIT_AUTOMAKE(gnome-schedule, 2.1.2)
dnl check for python
dnl AM_PATH_PYTHON
+dnl Until PyGtk supports Python 3 we look for Python 2 first
+AC_PATH_PROG(PYTHON, python2 python2.7 python2.6 python2.5 python)
AM_PATH_PYTHON
PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= 2.6)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]