diff --git a/lib/ansible/__init__.py b/lib/ansible/__init__.py index 19844dd920a124..41cb7bd297c2f0 100644 --- a/lib/ansible/__init__.py +++ b/lib/ansible/__init__.py @@ -36,4 +36,4 @@ # # This is for backwards compat. Code should be ported to get these from # ansible.release instead of from here. -from ansible.release import __version__, __author__ +from ansible.release import __version__, __tpa_version__, __author__ diff --git a/lib/ansible/release.py b/lib/ansible/release.py index e215463e11b7b8..61d816d4e50d65 100644 --- a/lib/ansible/release.py +++ b/lib/ansible/release.py @@ -20,5 +20,6 @@ __metaclass__ = type __version__ = '2.9.27' +__tpa_version__ = 'tpa-1.0.2' __author__ = 'Ansible, Inc.' __codename__ = 'Immigrant Song' diff --git a/setup.py b/setup.py index e4af0d33449de0..c1df926d538a0d 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ sys.exit(1) sys.path.insert(0, os.path.abspath('lib')) -from ansible.release import __version__, __author__ +from ansible.release import __version__, __tpa_version__, __author__ SYMLINK_CACHE = 'SYMLINK_CACHE.json' @@ -275,7 +275,7 @@ def get_dynamic_setup_params(): 'sdist': SDistCommand, }, name='ansible', - version=__version__, + version=__version__ + '+' + __tpa_version__, description='Radically simple IT automation', author=__author__, author_email='info@ansible.com',