Commit b7f40091 authored by Karen Tracey's avatar Karen Tracey
Browse files

Fixed #9260: [1.0.X] Correct version calculation code so setup.py works on...

Fixed #9260: [1.0.X] Correct version calculation code so setup.py works on 1.0.X branch.  Thanks for the report Warren.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent a59c27ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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_tuple = __import__('django').get_version()
version = __import__('django').get_version()
if u'SVN' in version:
    version = ' '.join(version.split(' ')[:-1])