version for setup.py

This commit is contained in:
gwen 2013-08-29 12:15:12 +02:00
parent 92a61a91cd
commit af50605d73

View File

@ -8,7 +8,7 @@ import subprocess
def fetch_version():
"""Get version from version.in or latest git tag"""
version_file='version.in'
version = "0.0-dev"
version = "1.0"
git_last_tag_cmd = ['git', 'describe', '--tags', '--abbrev=0']
try:
@ -28,8 +28,8 @@ def fetch_version():
setup(
author='Gwenaël Rémond',
author_email='gremond@cadoles.com',
author='cadoles team',
author_email='contact@cadoles.com',
name='tiramisu',
version=fetch_version(),
description='configuration management tool',