]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Hardcode version in setup.py again.
authorArmin Ronacher <armin.ronacher@active-4.com>
Sun, 26 Jul 2015 17:49:32 +0000 (19:49 +0200)
committerArmin Ronacher <armin.ronacher@active-4.com>
Sun, 26 Jul 2015 17:49:32 +0000 (19:49 +0200)
setup.py

index 3bfa749d441e5ca7672258710de6d037ad8a5d50..8ffd1c9cb51107389f4f0f2523ecbeaca5c91006 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -35,21 +35,12 @@ For more informations visit the new `Jinja2 webpage`_ and `documentation`_.
 .. _Jinja2 webpage: http://jinja.pocoo.org/
 .. _documentation: http://jinja.pocoo.org/2/documentation/
 """
-import re
-import ast
 from setuptools import setup
 
 
-_version_re = re.compile(r'__version__\s+=\s+(.*)')
-
-with open('jinja2/__init__.py', 'rb') as f:
-    version = str(ast.literal_eval(_version_re.search(
-        f.read().decode('utf-8')).group(1)))
-
-
 setup(
     name='Jinja2',
-    version=version,
+    version='2.8.dev0',
     url='http://jinja.pocoo.org/',
     license='BSD',
     author='Armin Ronacher',