Sort almost all usages of glob.glob for reproducible output

This will help diff-ing logs between invocations to see what is changing when refactoring. When used for creating an archive, it will help creating a reproducible file.
This commit is contained in:
Edouard Choinière
2025-01-28 03:28:11 +00:00
parent c30fe8a95c
commit 7819799d0d
7 changed files with 59 additions and 59 deletions

View File

@@ -156,7 +156,7 @@ def _cleanup_symlinks(cmd):
#
build_lib = cmd.get_finalized_command('build').build_lib
build_lib = opj(build_lib, 'wx')
for libname in glob.glob(opj(build_lib, 'libwx*')):
for libname in sorted(glob.glob(opj(build_lib, 'libwx*'))):
if os.path.islink(libname):
if isDarwin: