Get current version for setup.py from __init__
This commit is contained in:
parent
f42d34205c
commit
7a4984dc35
2 changed files with 4 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -5,6 +5,8 @@ from os import path
|
|||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
import todo
|
||||
|
||||
here = path.abspath(path.dirname(__file__))
|
||||
|
||||
# Get the long description from the README file
|
||||
|
@ -13,7 +15,7 @@ with open(path.join(here, "README.md"), encoding="utf-8") as f:
|
|||
|
||||
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",
|
||||
|
|
|
@ -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__ = 'shacker@birdhouse.org'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue