# HG changeset patch # User Simon Heimberg # Date 1321060075 -3600 # Node ID 36f076d03b34155294b09e012b4f7c7de051ca25 # Parent c0e42b47ec1a7f74aa2feef941c513cd179de4bd setup: make script executable with python3 Replace the incompatible print statement. Writing a warning to stderr is a good idea anyway. diff -r c0e42b47ec1a -r 36f076d03b34 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