mirror of
https://gitee.com/openharmony/third_party_jinja2
synced 2024-11-27 09:20:49 +00:00
Preparing for a 2.5.2 release. Fixed an issue with setup.py
--HG-- branch : trunk
This commit is contained in:
parent
6cc2b236ea
commit
4603694a92
8
CHANGES
8
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)
|
||||
|
@ -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 *
|
||||
|
13
setup.py
13
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',
|
||||
|
Loading…
Reference in New Issue
Block a user