diff --git a/docs/source/CHANGELOG.rst b/docs/source/CHANGELOG.rst index c94f728..0f46cf5 100644 --- a/docs/source/CHANGELOG.rst +++ b/docs/source/CHANGELOG.rst @@ -1,6 +1,11 @@ ChangeLog ========= +0.1.2 (2016-04-23) +------------------ + +* Fixes setup.py version. + 0.1.1 (2016-04-23) ------------------ diff --git a/pguard.py b/pguard.py index 7c51588..61433b6 100644 --- a/pguard.py +++ b/pguard.py @@ -2,7 +2,7 @@ """Guard like Haskell for Python.""" -__version__ = '0.1.1' +__version__ = '0.1.2' def guard_cl(statement, condition=None): diff --git a/setup.py b/setup.py index 0f31511..28f9662 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ import sys from setuptools import setup from setuptools.command.test import test as TestCommand +from pguard import __version__ class Tox(TestCommand): user_options = [('tox-args=', 'a', 'Arguments to pass to tox')] @@ -69,7 +70,7 @@ def read_content(filepath): _file.write('\n'.join(extras_require.get('reST'))) setup(name='pguard', - version='0.1.0', + version=__version__, description='Guard like Haskell for Python.', long_description=long_description, author='Kouhei Maeda',