summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 9c189ebf75..f403029efe 100644
--- a/setup.py
+++ b/setup.py
@@ -25,9 +25,12 @@ for dirpath, dirnames, filenames in os.walk(django_dir):
else:
data_files.append((dirpath, [os.path.join(dirpath, f) for f in filenames]))
+# Dynamically calculate the version based on django.VERSION.
+version = "%d.%d-%s" % (__import__('django').VERSION)
+
setup(
name = "Django",
- version = "0.95",
+ version = version,
url = 'http://www.djangoproject.com/',
author = 'Lawrence Journal-World',
author_email = 'holovaty@gmail.com',