aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorDavanum Srinivas <davanum@gmail.com>2016-04-18 15:08:49 -0400
committerDavanum Srinivas <davanum@gmail.com>2016-04-19 13:34:47 -0400
commitdf05ebf3e88858ae7ac74071bd20c86782e1415d (patch)
treeb9f3e1af1bea5f952f05d5dc152c279c8ec15889 /setuptools/command/egg_info.py
parentfc6aec49d66daaf28d0c1a5ddb31766a056599f1 (diff)
downloadexternal_python_setuptools-df05ebf3e88858ae7ac74071bd20c86782e1415d.tar.gz
external_python_setuptools-df05ebf3e88858ae7ac74071bd20c86782e1415d.tar.bz2
external_python_setuptools-df05ebf3e88858ae7ac74071bd20c86782e1415d.zip
Preserve order of egg_info section in setup.cfg
egg_info is the dictionary with information that is injected into setup.cfg. edit_config uses RawConfigParser which uses collections.OrderedDict for all the data. When we use a simple dict(), when we loop through items in edit_config, we see random behavior as a result the fields tag_svn_revision/tag_date/tag_build are added to the setup.cfg randomly. So if we sort the items by key when we traverse items we will get deterministic output as RawConfigParser uses OrderedDict internally by default.
Diffstat (limited to 'setuptools/command/egg_info.py')
0 files changed, 0 insertions, 0 deletions