Preparing for a 2.5.2 release. Fixed an issue with setup.py
--HG--
branch : trunk
diff --git a/setup.py b/setup.py
index cf915cc..ff07040 100644
--- a/setup.py
+++ b/setup.py
@@ -62,10 +62,21 @@
use_2to3_fixers=['custom_fixers']
)
+# ignore the old '--with-speedups' flag
+try:
+ speedups_pos = sys.argv.index('--with-speedups')
+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'
+
setup(
name='Jinja2',
- version='2.6',
+ version='2.5.2',
url='http://jinja.pocoo.org/',
license='BSD',
author='Armin Ronacher',