Skip to content

Commit

Permalink
Fix setup.py VERSION so that we can install bodhi from pypi
Browse files Browse the repository at this point in the history
Signed-off-by: Clement Verna <[email protected]>
  • Loading branch information
cverna committed Mar 20, 2020
1 parent 2c0ee51 commit 12485b3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 12485b3

Please sign in to comment.