Skip to content

Commit aa2dc3f

Browse files
committed
Prevent hardcoding the version number
1 parent e4a50e4 commit aa2dc3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

django_markwhat/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = 1.1
1+
__version__ = (1, 3)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name='django-markwhat',
5-
version='2014.9.20',
5+
version=".".join(map(str, __import__('django_markwhat').__version__)),
66
packages=['django_markwhat', 'django_markwhat.templatetags'],
77
url='http://pypi.python.org/pypi/django-markwhat',
88
license=open('LICENSE').read(),

0 commit comments

Comments
 (0)