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
This commit is contained in:
parent
a59c27ac5d
commit
b7f40091ad
2
setup.py
2
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_tuple = __import__('django').get_version()
|
||||
version = __import__('django').get_version()
|
||||
if u'SVN' in version:
|
||||
version = ' '.join(version.split(' ')[:-1])
|
||||
|
||||
|
|
Loading…
Reference in New Issue