Skip to content

Commit

Permalink
Get current version for setup.py from __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
shacker committed Apr 12, 2019
1 parent f42d342 commit 7a4984d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

from setuptools import setup, find_packages

import todo

here = path.abspath(path.dirname(__file__))

# Get the long description from the README file
Expand All @@ -13,7 +15,7 @@

setup(
name="django-todo",
version="2.4.5",
version=todo.__version__,
description="A multi-user, multi-group task management and assignment system for Django.",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion todo/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
A multi-user, multi-group task management and assignment system for Django.
"""
__version__ = '2.3.1'
__version__ = '2.4.5'

__author__ = 'Scot Hacker'
__email__ = '[email protected]'
Expand Down

0 comments on commit 7a4984d

Please sign in to comment.