diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2017-11-20 13:12:05 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2017-11-20 13:12:05 -0500 |
commit | 89ef5bb7e4812193d6f593d531bad36191517981 (patch) | |
tree | 1c5dccb410d9a740d1461cd07249af4c233ad120 /setuptools/command/egg_info.py | |
parent | 45ec75beccba6432b3ed7b80fd84b65276453e9d (diff) | |
parent | c6fe76cbc22ac6ac64709a0381a6ce48a8c9884a (diff) | |
download | external_python_setuptools-89ef5bb7e4812193d6f593d531bad36191517981.tar.gz external_python_setuptools-89ef5bb7e4812193d6f593d531bad36191517981.tar.bz2 external_python_setuptools-89ef5bb7e4812193d6f593d531bad36191517981.zip |
Drop support for Python 2.6 by merging the drop-py26 branch. 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 a183d15d..a1d41b27 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -160,9 +160,7 @@ class egg_info(Command): build tag. Install build 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() |