[1.4.x] Fixed #25119 -- Disabled wheel support.

This commit is contained in:
Tim Graham 2015-07-13 16:03:51 -04:00
parent 3df6495c12
commit 3b324970e3
3 changed files with 13 additions and 0 deletions

9
docs/releases/1.4.22.txt Normal file
View File

@ -0,0 +1,9 @@
===========================
Django 1.4.22 release notes
===========================
*Under development*
Django 1.4.22 fixes support with pip 7+ by disabling wheel support. Older
versions of 1.4 would silently build a broken wheel when installed with those
versions of pip.

View File

@ -19,6 +19,7 @@ Final releases
.. toctree::
:maxdepth: 1
1.4.22
1.4.21
1.4.20
1.4.19

View File

@ -65,6 +65,9 @@ if len(sys.argv) > 1 and sys.argv[1] == 'bdist_wininst':
for file_info in data_files:
file_info[0] = '\\PURELIB\\%s' % file_info[0]
if 'bdist_wheel' in sys.argv:
raise RuntimeError('Django 1.4 does not support wheel. This error is safe to ignore.')
# Dynamically calculate the version based on django.VERSION.
version = __import__('django').get_version()