Commits

Anonymous committed be37eff

make order of lines in top_level.txt deterministic

like it was done for requirements and entry_points

  • Participants
  • Parent commits fba2455

Comments (0)

Files changed (1)

setuptools/command/egg_info.py

             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):