[PATCH libevdev 5/5] python: request version 2.6 or higher

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 19 13:52:34 PST 2013


On Tue, Nov 19, 2013 at 11:59:10AM -0500, Gaetan Nadon wrote:
> 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.

and we already require 2.6 anyway as of
a3e8a240ab7618e11ce77e18957a4b6f308c939b, this just makes it more official
:)
thanks.

Cheers,
   Peter

> 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
> 
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/input-tools


More information about the Input-tools mailing list