summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-01-08 15:05:15 +0000
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-01-08 15:05:15 +0000
commit40f0ecc56a23d35c2849f8e79276f6d8931412d1 (patch)
treec87596d06178c360f77213e1ab5fc465e76b0998 /setup.py
parentaa4e1522968b19499801fe3d73d6b2f3bf3b3acd (diff)
Implemented PEP386-compatible version numbers. Thanks Jannis for the guidance.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index af18af78ff..975ddcb255 100644
--- a/setup.py
+++ b/setup.py
@@ -66,7 +66,7 @@ if len(sys.argv) > 1 and sys.argv[1] == 'bdist_wininst':
file_info[0] = '\\PURELIB\\%s' % file_info[0]
# Dynamically calculate the version based on django.VERSION.
-version = __import__('django').get_distutils_version()
+version = __import__('django').get_version()
setup(
name = "Django",