Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #3117 -- Changed setup.py to get version from django.VERSION dy…

…namically. Thanks for the patch, ymasuda

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 49f6d06c2f25467b844d01c206e218550ac1a4bb 1 parent faaec9c
@adrianholovaty adrianholovaty authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 setup.py
View
5 setup.py
@@ -25,9 +25,12 @@
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',
Please sign in to comment.
Something went wrong with that request. Please try again.