Commits

Matthew Schinckel committed 353b4ee

Use better versioning methodology.

Comments (0)

Files changed (3)

+1.0.6

menus/__init__.py

+import os
+
+__version__ = open(os.path.join(os.path.dirname(__file__), 'VERSION')).read().strip()
 from distutils.core import setup
 
+import menus
+
 # Not sure of a better way to automatically generate this file.
 # It needs to happen before setup() is called to ensure that
 # long_description is set.
         
 setup(
     name = "django-menus",
-    version = "1.0.6",
+    version = menus.__version__,
     description = "Menu helpers for django projects",
     url = "http://bitbucket.org/schinckel/django-menus/",
     author = "Matthew Schinckel",