Re: [PATCH] Use Python 2 for spice_codegen.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

On Wed, Mar 25, 2015 at 03:44:25PM -0500, Alexander Wauck wrote:
> Spice fails to compile on Arch Linux because spice_codegen.py uses "python"
> rather than "python2".  PEP-394 suggests that the existence of "python2" is
> something that we can rely on, although I am somewhat concerned about older
> systems.

EL5.11 has python2, so does EL6, hopefully it's safe to assume that
anything newer than that will have it too. Moreover, when building from
tarball, spice_codegen.py should not be needed, so ACK (though ideally
spice_codegen.py would get fixed for python3 too ;)

Christophe

> 
> Signed-off-by: Alexander Wauck <awauck@xxxxxxxxxxxxxxx>
> ---
>  spice_codegen.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/spice_codegen.py b/spice_codegen.py
> index c8376cc..9d5ff05 100755
> --- a/spice_codegen.py
> +++ b/spice_codegen.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/env python
> +#!/usr/bin/env python2
>  
>  import os
>  import sys
> -- 
> 2.3.4
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpTiHQyR2Z7Q.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]