Commit 337b8968 authored by Jim Fulton's avatar Jim Fulton

Fix: distribute 0.6.33 broke Python 2.4 compatibility

parent 780d9286
...@@ -10,6 +10,8 @@ Change History ...@@ -10,6 +10,8 @@ Change History
- If buildout is bootstrapped with a non-final release, it - If buildout is bootstrapped with a non-final release, it
won't downgrade itself to a final release. won't downgrade itself to a final release.
- Fix: distribute 0.6.33 broke Python 2.4 compatibility
- remove `data_files` from `setup.py`, which was installing README.txt - remove `data_files` from `setup.py`, which was installing README.txt
in current directory during installation in current directory during installation
[Domen Kožar] [Domen Kožar]
......
...@@ -171,6 +171,8 @@ except ImportError: ...@@ -171,6 +171,8 @@ except ImportError:
setup_args['download_base'] = options.download_base setup_args['download_base'] = options.download_base
if options.use_distribute: if options.use_distribute:
setup_args['no_fake'] = True setup_args['no_fake'] = True
if sys.version_info[:2] == (2, 4):
setup_args['version'] = '0.6.32'
ez['use_setuptools'](**setup_args) ez['use_setuptools'](**setup_args)
if 'pkg_resources' in sys.modules: if 'pkg_resources' in sys.modules:
reload(sys.modules['pkg_resources']) reload(sys.modules['pkg_resources'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment