Ticket #13153: version.diff
File version.diff, 729 bytes (added by , 15 years ago) |
---|
-
setup.py
68 68 # Dynamically calculate the version based on django.VERSION. 69 69 version = __import__('django').get_version() 70 70 if u'SVN' in version: 71 version = ' '.join(version.split(' ')[:-1]) 71 version = version.split(' ') 72 version[-1:] = [version[-1:][0].lower().replace('-', '~')] 73 version = ' '.join(version) 72 74 73 75 setup( 74 76 name = "Django", 75 version = version.replace(' ', ' -'),77 version = version.replace(' ', '_'), 76 78 url = 'http://www.djangoproject.com/', 77 79 author = 'Django Software Foundation', 78 80 author_email = 'foundation@djangoproject.com',