version for setup.py
This commit is contained in:
parent
92a61a91cd
commit
af50605d73
6
setup.py
6
setup.py
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue