aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-03-18 18:12:35 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-03-18 18:12:35 -0400
commit71ba636c17343d81611eb244e6e3e7a610055fe7 (patch)
tree7b0cca0ba6a4fb1c6aa36cea7d80076113d789a0
parent8a0a359c76a25d74c3e2de6a350422ae9ca67798 (diff)
downloadb4-71ba636c17343d81611eb244e6e3e7a610055fe7.tar.gz
Use b4.VERSION for setup.py version info
No longer need to change version in both places. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/__init__.py2
-rw-r--r--setup.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index 85b8298..d6ca6de 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -19,7 +19,7 @@ from email import charset
charset.add_charset('utf-8', None)
emlpolicy = email.policy.EmailPolicy(utf8=True, cte_type='8bit', max_line_length=None)
-VERSION = '0.3.4-pre'
+VERSION = '0.3.4-dev'
ATTESTATION_FORMAT_VER = '0.1'
logger = logging.getLogger('b4')
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',