diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-09 08:16:33 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-09 08:53:50 -0500 |
commit | f14930e66601b462699c44384c482cd966f53b8f (patch) | |
tree | bea29134419118c1bcb95ca589da5a8e2372e089 /setuptools/command/egg_info.py | |
parent | ac9997648d89131412eacbb198e2d3a7c97f69e4 (diff) | |
download | external_python_setuptools-f14930e66601b462699c44384c482cd966f53b8f.tar.gz external_python_setuptools-f14930e66601b462699c44384c482cd966f53b8f.tar.bz2 external_python_setuptools-f14930e66601b462699c44384c482cd966f53b8f.zip |
Drop support for Python 2.6, removing lots of compatibility code for a leaner, cleaner codebase. Fixes #878.
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-x | setuptools/command/egg_info.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 8a06e496..40cea9bf 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -158,9 +158,7 @@ class egg_info(Command): build tag. Install these keys in a deterministic order to avoid arbitrary reordering on subsequent builds. """ - # python 2.6 compatibility - odict = getattr(collections, 'OrderedDict', dict) - egg_info = odict() + egg_info = collections.OrderedDict() # follow the order these keys would have been added # when PYTHONHASHSEED=0 egg_info['tag_build'] = self.tags() |