mirror of
https://github.com/django/django.git
synced 2025-10-10 02:22:22 +00:00
Implemented PEP386-compatible version numbers. Thanks Jannis for the guidance.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
aa4e152296
commit
40f0ecc56a
7 changed files with 56 additions and 32 deletions
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 = __import__('django').get_distutils_version()
|
||||
version = __import__('django').get_version()
|
||||
|
||||
setup(
|
||||
name = "Django",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue