Skip to content

Commit

Permalink
This is 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sh4nks committed May 15, 2017
1 parent 75a35de commit e4093c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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',
Expand Down

0 comments on commit e4093c5

Please sign in to comment.