12184dc5c5
1. Add the version module from openstack.common. 2. Create a ceilometer/version.py to set up the version info. 3. Update setup.py from openstack.common. 4. Update documentation build to use the version module directly instead of running setup.py to get the version. 5. Update setup.py to use the new version module. Change-Id: I9d8be62b8ece75090bf335d27adb59a46e3d6263 Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
27 lines
946 B
Python
27 lines
946 B
Python
# -*- encoding: utf-8 -*-
|
|
#
|
|
# Copyright © 2012 New Dream Network, LLC (DreamHost)
|
|
#
|
|
# Author: Doug Hellmann <doug.hellmann@dreamhost.com>
|
|
#
|
|
# 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
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
"""Version information for ceilometer.
|
|
"""
|
|
|
|
from ceilometer.openstack.common import version as common_version
|
|
|
|
NEXT_VERSION = '2013.1'
|
|
|
|
version_info = common_version.VersionInfo('ceilometer',
|
|
pre_version=NEXT_VERSION)
|