[Spice-devel] [PATCH] Use Python 2 for spice_codegen.py
Alexander Wauck
awauck at codeweavers.com
Wed Mar 25 13:44:25 PDT 2015
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.
Signed-off-by: Alexander Wauck <awauck at codeweavers.com>
---
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
More information about the Spice-devel
mailing list