[1.4.x] Fixed #25119 -- Disabled wheel support.
This commit is contained in:
parent
3df6495c12
commit
3b324970e3
|
@ -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.
|
|
@ -19,6 +19,7 @@ Final releases
|
|||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
1.4.22
|
||||
1.4.21
|
||||
1.4.20
|
||||
1.4.19
|
||||
|
|
3
setup.py
3
setup.py
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue