Improved message and unbroke 3.x
authorArmin Ronacher <armin.ronacher@active-4.com>
Wed, 18 Aug 2010 09:12:52 +0000 (11:12 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Wed, 18 Aug 2010 09:12:52 +0000 (11:12 +0200)
--HG--
branch : trunk

setup.py

index ff07040aa79e556acbbe58e1713e42bcf37e2e3b..377a1c3a70beeed691910f886d4b3f769c2a1c8c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -69,9 +69,13 @@ except IndexError:
     pass
 else:
     sys.argv[speedups_pos] = '--with-debugsupport'
-    print >> sys.stderr, 'the --with-speedups flag is deprecated'
-    print >> sys.stderr, 'assuming --with-debugsupport'
-    print >> sys.stderr, 'for speedups install MarkupSafe'
+    sys.stderr.write('*' * 74 + '\n')
+    sys.stderr.write('WARNING:\n')
+    sys.stderr.write('  the --with-speedups flag is deprecated, assuming '
+                     '--with-debugsupport\n')
+    sys.stderr.write('  For the actual speedups install the MarkupSafe '
+                     'package.\n')
+    sys.stderr.write('*' * 74 + '\n')
 
 
 setup(