aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-12-09 08:16:33 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-12-09 08:53:50 -0500
commitf14930e66601b462699c44384c482cd966f53b8f (patch)
treebea29134419118c1bcb95ca589da5a8e2372e089 /setuptools/command/egg_info.py
parentac9997648d89131412eacbb198e2d3a7c97f69e4 (diff)
downloadexternal_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-xsetuptools/command/egg_info.py4
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()