diff options
| author | Daniel Garcia Moreno <daniel.garcia@suse.com> | 2022-11-14 12:56:32 +0100 |
|---|---|---|
| committer | Daniel Garcia Moreno <daniel.garcia@suse.com> | 2022-11-15 08:16:40 +0100 |
| commit | 95234bb9002dfb259d37125ae5382a404d0f5ab1 (patch) | |
| tree | 6533e2d37a492b60ed59a9f6c183ab422c22e13b /setuptools/command | |
| parent | a0e8e53cecc238e3bce2247308fe7dd94114ef35 (diff) | |
| download | python-setuptools-git-95234bb9002dfb259d37125ae5382a404d0f5ab1.tar.gz | |
Make clib build reproducible by sorting sources
Fix https://github.com/pypa/setuptools/issues/3678
Diffstat (limited to 'setuptools/command')
| -rw-r--r-- | setuptools/command/build_clib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/build_clib.py b/setuptools/command/build_clib.py index 67ce2444..09483e69 100644 --- a/setuptools/command/build_clib.py +++ b/setuptools/command/build_clib.py @@ -28,7 +28,7 @@ class build_clib(orig.build_clib): "in 'libraries' option (library '%s'), " "'sources' must be present and must be " "a list of source filenames" % lib_name) - sources = list(sources) + sources = sorted(list(sources)) log.info("building '%s' library", lib_name) |
