diff options
| author | Benedikt Morbach <bmorbach@redhat.com> | 2014-08-07 17:57:00 +0200 |
|---|---|---|
| committer | Benedikt Morbach <bmorbach@redhat.com> | 2014-08-07 17:57:00 +0200 |
| commit | 3c8d69724a4fbf99499d2dde191094bfe61a7b50 (patch) | |
| tree | 05ac800ae2d1a68b92dbabc2dba159080b6eaf16 /setuptools/command/egg_info.py | |
| parent | cd63524521e9ac6a153e510f40ec4c331b444cf8 (diff) | |
| download | python-setuptools-bitbucket-3c8d69724a4fbf99499d2dde191094bfe61a7b50.tar.gz | |
make order of lines in top_level.txt deterministic
like it was done for requirements and entry_points
Diffstat (limited to 'setuptools/command/egg_info.py')
| -rwxr-xr-x | setuptools/command/egg_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 72493d0b..1ef723da 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -389,7 +389,7 @@ def write_toplevel_names(cmd, basename, filename): for k in cmd.distribution.iter_distribution_names() ] ) - cmd.write_file("top-level names", filename, '\n'.join(pkgs) + '\n') + cmd.write_file("top-level names", filename, '\n'.join(sorted(pkgs) + '\n') def overwrite_arg(cmd, basename, filename): |
