From: Armin Ronacher Date: Sun, 24 Jul 2011 19:46:23 +0000 (+0200) Subject: version is now static X-Git-Tag: 2.6~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be870827a84b6b440089580308966c8c09b59364;p=jinja2.git version is now static --- 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