diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-06-05 19:27:03 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-06-05 20:04:29 +0200 |
commit | 149dcbae2d12587fb687b81e3a1a4631f04db4d7 (patch) | |
tree | 95633022329108c836363148ef95df4cadeab109 /setup.py | |
parent | f77799678c6132f6a8db16faa2f9c72771c017f3 (diff) | |
download | tools-149dcbae2d12587fb687b81e3a1a4631f04db4d7.tar.gz tools-149dcbae2d12587fb687b81e3a1a4631f04db4d7.tar.bz2 tools-149dcbae2d12587fb687b81e3a1a4631f04db4d7.zip |
hostinfo: add -V and --version to get the version0.2.0
The version is generated from the git-tags during build (setup.py) or
during run time, if executed from the git repository.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,9 +1,10 @@ #!/usr/bin/env python from distutils.core import setup +from version import * setup(name='hostinfo-tools', - version='0.1.0', + version=get_git_version(), description='Hostinfo database interface scripts', author='Alexander Sulfrian', author_email='alex@spline.inf.fu-berlin.de', |