Skip to content
Myr

Avoid duplication of version info

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent eb2a452 · Browse files · 1 file+11 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+11 added−3 removed

  • other:+11 added−3 removed

1 file+11 added−3 removed

modified:setup.py+11 added-3 removed
40 unmodified lines
41* `development version42 <http://github.com/mitsuhiko/flask/zipball/master#egg=Flask-dev>`_4344"""45from __future__ import print_function46from setuptools import Command, setup45import re46import ast47from setuptools import setup484950_version_re = re.compile(r'__version__\s+=\s+(.*)')5152with open('flask/__init__.py', 'rb') as f:53 version = str(ast.literal_eval(_version_re.search(54 f.read().decode('utf-8')).group(1)))555657setup(58 name='Flask',51 version='0.11.dev0',59 version=version,60 url='http://github.com/mitsuhiko/flask/',61 license='BSD',62 author='Armin Ronacher',63 author_email='armin.ronacher@active-4.com',
29 unmodified lines