summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2010-08-18 11:10:50 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2010-08-18 11:10:50 +0200
commit4603694a92803ed30dfa6fd22890ed9ea7d5f9da (patch)
tree054920d6336d86350d057a8dd2ff66d4faaaaf23
parent6cc2b236eacb70bef367d9500bbd65313d42626d (diff)
downloadjinja2-4603694a92803ed30dfa6fd22890ed9ea7d5f9da.tar.gz
Preparing for a 2.5.2 release. Fixed an issue with setup.py
--HG-- branch : trunk
-rw-r--r--CHANGES8
-rw-r--r--MANIFEST.in2
-rw-r--r--setup.py13
3 files changed, 21 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 5ad58e1..e31a32a 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,14 @@
Jinja2 Changelog
================
+Version 2.5.2
+-------------
+(bugfix release, released on August 18th 2010)
+
+- improved setup.py script to better work with assumptions people
+ might still have from it (``--with-speedups``).
+- fixed a packaging error that excluded the new debug support.
+
Version 2.5.1
-------------
(bugfix release, released on August 17th 2010)
diff --git a/MANIFEST.in b/MANIFEST.in
index f593398..713f21a 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,4 +1,4 @@
-include MANIFEST.in Makefile CHANGES LICENSE AUTHORS jinja2/_speedups.c
+include MANIFEST.in Makefile CHANGES LICENSE AUTHORS jinja2/_debugsupport.c
recursive-include docs *
recursive-include custom_fixers *
recursive-include ext *
diff --git a/setup.py b/setup.py
index cf915cc..ff07040 100644
--- a/setup.py
+++ b/setup.py
@@ -62,10 +62,21 @@ if sys.version_info >= (3, 0):
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',