version for setup.py

This commit is contained in:
gwen 2013-08-29 12:15:12 +02:00
parent 92a61a91cd
commit af50605d73
1 changed files with 3 additions and 3 deletions

View File

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