version is now static
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 24 Jul 2011 19:46:23 +0000 (21:46 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 24 Jul 2011 19:46:23 +0000 (21:46 +0200)
jinja2/__init__.py

index dec8c27bca04a87851bf01f38aded67c9b5c5027..0cf967d7b9dbb1e3994077d930e45d2c9cb4dc2c 100644 (file)
     :license: BSD, see LICENSE for more details.
 """
 __docformat__ = 'restructuredtext en'
-try:
-    __version__ = __import__('pkg_resources') \
-        .get_distribution('Jinja2').version
-except Exception:
-    __version__ = 'unknown'
+__version__ = '2.6'
 
 # high level interface
 from jinja2.environment import Environment, Template