Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.0.X] Apply fix from [9107]

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a59c27ac5d535be60300ee3c5d3164522398d1dd 1 parent 9971852
@ubernostrum ubernostrum authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 setup.py
View
8 setup.py
@@ -66,11 +66,9 @@ def fullsplit(path, result=None):
file_info[0] = '\\PURELIB\\%s' % file_info[0]
# Dynamically calculate the version based on django.VERSION.
-version_tuple = __import__('django').VERSION
-if version_tuple[2] is not None:
- version = "%d.%d_%s" % version_tuple
-else:
- version = "%d.%d" % version_tuple[:2]
+version_tuple = __import__('django').get_version()
+if u'SVN' in version:
+ version = ' '.join(version.split(' ')[:-1])
setup(
name = "Django",
Please sign in to comment.
Something went wrong with that request. Please try again.