changeset 15492:36f076d03b34

setup: make script executable with python3 Replace the incompatible print statement. Writing a warning to stderr is a good idea anyway.
author Simon Heimberg <simohe@besonet.ch>
date Sat, 12 Nov 2011 02:07:55 +0100
parents c0e42b47ec1a
children 8504699d1aa6
files setup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Wed Aug 17 08:55:01 2011 -0500
+++ b/setup.py	Sat Nov 12 02:07:55 2011 +0100
@@ -44,7 +44,7 @@
     pass
 
 if isironpython:
-    print "warning: IronPython detected (no bz2 support)"
+    sys.stderr.write("warning: IronPython detected (no bz2 support)\n")
 else:
     try:
         import bz2