Version 0.2.0

This commit is contained in:
Markus Unterwaditzer 2014-06-12 15:52:34 +02:00
parent 5788544839
commit 7a84562e30
3 changed files with 14 additions and 4 deletions

View file

@ -5,7 +5,7 @@ Changelog
This changelog only contains information that might be useful to end users and This changelog only contains information that might be useful to end users and
package maintainers. For further info, see the git commit log. package maintainers. For further info, see the git commit log.
Version 0.1.6 Version 0.2.0
============= =============
*unreleased* *unreleased*

View file

@ -9,12 +9,22 @@
:copyright: (c) 2014 Markus Unterwaditzer & contributors :copyright: (c) 2014 Markus Unterwaditzer & contributors
:license: MIT, see LICENSE for more details. :license: MIT, see LICENSE for more details.
''' '''
import ast
import re
from setuptools import setup, find_packages from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('vdirsyncer/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup( setup(
name='vdirsyncer', name='vdirsyncer',
version='0.1.5', version=version,
author='Markus Unterwaditzer', author='Markus Unterwaditzer',
author_email='markus@unterwaditzer.net', author_email='markus@unterwaditzer.net',
url='https://github.com/untitaker/vdirsyncer', url='https://github.com/untitaker/vdirsyncer',

View file

@ -9,4 +9,4 @@
:copyright: (c) 2014 Markus Unterwaditzer & contributors :copyright: (c) 2014 Markus Unterwaditzer & contributors
:license: MIT, see LICENSE for more details. :license: MIT, see LICENSE for more details.
''' '''
__version__ = '0.1.5' __version__ = '0.2.0'