setup: make script executable with python3
authorSimon Heimberg <simohe@besonet.ch>
Sat, 12 Nov 2011 02:07:55 +0100
changeset 15492 36f076d03b34
parent 15491 c0e42b47ec1a
child 15493 8504699d1aa6
setup: make script executable with python3 Replace the incompatible print statement. Writing a warning to stderr is a good idea anyway.
setup.py
--- 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