Fixed : [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
This commit is contained in:
Karen Tracey 2008-10-01 17:26:40 +00:00
parent a59c27ac5d
commit b7f40091ad
1 changed files with 1 additions and 1 deletions

View File

@ -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])