[elbe-devel] [PATCH 21/25] py3: setup.py - convert to use python3
Manuel Traut
manut at linutronix.de
Fri Dec 1 16:51:18 CET 2017
setup.py just needs to use print as function, than it can be run in a
python3 interpreter.
Signed-off-by: Manuel Traut <manut at linutronix.de>
---
setup.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup.py b/setup.py
index 63bf330f..2f42c9a3 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import subprocess
import os
@@ -35,7 +35,7 @@ class my_install(install):
stdout=subprocess.PIPE,
cwd=docs_dir,
env=envvars).communicate()[0]
- print output
+ print(output)
setup(name='elbe',
version=elbe_version,
--
2.15.1
More information about the elbe-devel
mailing list