From be870827a84b6b440089580308966c8c09b59364 Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 24 Jul 2011 21:46:23 +0200 Subject: [PATCH] version is now static --- jinja2/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/jinja2/__init__.py b/jinja2/__init__.py index dec8c27..0cf967d 100644 --- a/jinja2/__init__.py +++ b/jinja2/__init__.py @@ -27,11 +27,7 @@ :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 -- 2.26.2