diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-14 12:11:26 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-16 22:14:17 +0000 |
commit | 9afecc45f0ff3e68e751a10f3f6485776b780f4d (patch) | |
tree | 82c765877e5634e57a275b47bb9a8c080f4f7692 /alot/__init__.py | |
parent | e5344317d3b69475239c4793463dceb30cbc6433 (diff) |
atomagic version string generation
http://dcreager.net/2010/02/10/setuptools-git-version-numbers/
Also makes the version string accessible as alot.__version__.
Diffstat (limited to 'alot/__init__.py')
-rw-r--r-- | alot/__init__.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/alot/__init__.py b/alot/__init__.py index 2704c6cd..7575f5cb 100644 --- a/alot/__init__.py +++ b/alot/__init__.py @@ -1,5 +1,8 @@ + +from version import get_git_version + __productname__ = 'alot' -__version__ = '0.20' +__version__ = get_git_version() __copyright__ = "Copyright (C) 2011 Patrick Totzke" __author__ = "Patrick Totzke" __author_email__ = "patricktotzke@gmail.com" |