Commits

Matthew Schinckel committed 4c4106f

Reference version number from code.

  • Participants
  • Parent commits e89d985

Comments (0)

Files changed (2)

 from distutils.core import setup
+from timedelta import __version__
 
 setup(
     name = "django-timedeltafield",
-    version = "0.5.1",
+    version = __version__,
     description = "TimedeltaField for django models",
     url = "http://hg.schinckel.net/django-timedelta-field/",
     author = "Matthew Schinckel",

File timedelta/__init__.py

+__version__ = "0.5.1"
+
 from fields import TimedeltaField
 
 from helpers import divide, multiply, modulo, parse, nice_repr, percentage