From 71ba636c17343d81611eb244e6e3e7a610055fe7 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Wed, 18 Mar 2020 18:12:35 -0400 Subject: Use b4.VERSION for setup.py version info No longer need to change version in both places. Signed-off-by: Konstantin Ryabitsev --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 1c9f6e1..5944988 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 import os +import b4 from setuptools import setup # Utility function to read the README file. @@ -13,11 +14,10 @@ def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() -VERSION = '0.3.3' NAME = 'b4' setup( - version=VERSION, + version=b4.VERSION, url='https://git.kernel.org/pub/scm/utils/b4/b4.git', name=NAME, description='A tool to work with public-inbox and patch archives', -- cgit v1.2.3