setup.py and conf.py have their own version definition. This patch
makes them both point to the same truth for versioning.
Change-Id: Ie8633bf6ddcb51cfbc31566f07fbdd5d26ab05b0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
import os
import sys
import sphinx_bootstrap_theme
+from lftools import __version__
sys.path.insert(0, os.path.abspath('..'))
# -- General configuration ------------------------------------------------
# built documents.
#
# The short X.Y version.
-version = '0.0.1'
+version = __version__
# The full version, including alpha/beta/rc tags.
-release = '0.0.1'
+release = __version__
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# Thanh Ha - Initial implementation
##############################################################################
"""lftools package."""
+
+__version__ = '0.0.8'
from setuptools import find_packages
from setuptools import setup
+from lftools import __version__
+
with open('requirements.txt') as f:
install_reqs = f.read().splitlines()
setup(
name='lftools',
- version='0.0.7',
+ version=__version__,
author='Thanh Ha',
author_email='thanh.ha@linuxfoundation.org',
url='',