[PATCH libevdev 5/5] python: request version 2.6 or higher
Gaetan Nadon
memsize at videotron.ca
Tue Nov 19 08:59:10 PST 2013
This seems like a reasonable minimum version to require.
Available in RHEL6 (2010) or Ubuntu (2010).
Version 2.7 contains the argparse module so the check could be removed.
The argparse module was introduced in v2.3.5 as an optional module.
http://www.python.org/doc/versions/
Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 471a8a3..285573d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -113,7 +113,7 @@ AS_IF([test "x$enable_gcov" != "xno"],
],
)
-AM_PATH_PYTHON()
+AM_PATH_PYTHON([2.6])
AS_IF([$($PYTHON -c "import argparse")], [:],
AC_MSG_ERROR([python argparse module is missing]))
--
1.7.9.5
More information about the Input-tools
mailing list