From e4093c5ac05e18f7ce5bb038b5fbc63e957914d6 Mon Sep 17 00:00:00 2001 From: Peter Justin Date: Mon, 15 May 2017 21:26:46 +0200 Subject: [PATCH] This is 2.0.0 --- CHANGES | 2 +- setup.py | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 16c4fe3..581fbea 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,7 @@ Flask-BabelPlus Changelog Version 2.0.0 ------------- -to be released +Released on May 15th 2017. - Split the whole extension in multiple smaller files and use a ``_BabelState`` object to safe the extensions state. diff --git a/setup.py b/setup.py index 8fdb348..86b21e3 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ class PyTestCommand(TestCommand): - user_options = [("pytest-args=", "a", "Arguments to pass to py.test")] + user_options = [("pytest-args=", "a", "Arguments to pass to pytest")] def initialize_options(self): TestCommand.initialize_options(self) @@ -60,13 +60,15 @@ def run_tests(self): with open('flask_babelplus/__init__.py', 'rb') as f: - version_line = re.search(r'__version__\s+=\s+(.*)', f.read().decode('utf-8')).group(1) + version_line = re.search( + r'__version__\s+=\s+(.*)', f.read().decode('utf-8') + ).group(1) version = str(ast.literal_eval(version_line)) setup( name='Flask-BabelPlus', - version='2.0.0', + version=version, url='https://github.com/sh4nks/flask-babelplus', license='BSD', author='Peter Justin',