Switch to using version.canonical_version_string
Change-Id: Id095c61325b0d64bc77b742abf72958aeb4cde4d
This commit is contained in:
parent
712e1726ad
commit
bc972b214e
|
@ -15,5 +15,8 @@
|
|||
|
||||
from heatclient.openstack.common import version as common_version
|
||||
|
||||
NEXT_VERSION = '0.2.0'
|
||||
|
||||
version_info = common_version.VersionInfo('heatclient',
|
||||
pre_version=NEXT_VERSION,
|
||||
python_package='python-heatclient')
|
||||
|
|
|
@ -13,3 +13,8 @@ all_files = 1
|
|||
|
||||
[upload_sphinx]
|
||||
upload-dir = doc/build/html
|
||||
|
||||
[egg_info]
|
||||
tag_build = dev
|
||||
tag_date = false
|
||||
tag_svn_revision = 0
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/python
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
|
@ -14,6 +16,7 @@ import os
|
|||
import setuptools
|
||||
|
||||
from heatclient.openstack.common import setup
|
||||
from heatclient.version import version_info as version
|
||||
|
||||
|
||||
def read(fname):
|
||||
|
@ -21,7 +24,7 @@ def read(fname):
|
|||
|
||||
setuptools.setup(
|
||||
name="python-heatclient",
|
||||
version=setup.get_post_version('heatclient'),
|
||||
version=version.canonical_version_string(always=True),
|
||||
author='Heat API Developers',
|
||||
author_email='discuss@heat-api.org',
|
||||
description="Client library for Heat orchestration API",
|
||||
|
|
Loading…
Reference in New Issue