From 12485b3357f8138759b06c1e1d4dd5070d9fc02a Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Fri, 20 Mar 2020 11:48:31 +0100 Subject: [PATCH] Fix setup.py VERSION so that we can install bodhi from pypi Signed-off-by: Clement Verna --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 3d57b7e0db..a395621d62 100644 --- a/setup.py +++ b/setup.py @@ -39,9 +39,8 @@ def get_requirements(requirements_file='requirements.txt'): here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read() -with open(os.path.join(here, "bodhi", "__init__.py")) as fd: - match = re.search('^__version__ = "([^"]+)"$', fd.read(), re.MULTILINE) - VERSION = match.group(1) +VERSION = '5.2.0' + # Possible options are at https://pypi.python.org/pypi?%3Aaction=list_classifiers CLASSIFIERS = [