Ignore:
Timestamp:
Nov 28, 2016, 3:48:47 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
bab8e3d
Parents:
3820264
git-author:
Paul Brossier <piem@piem.org> (11/28/16 15:48:34)
git-committer:
Paul Brossier <piem@piem.org> (11/28/16 15:48:47)
Message:

setup.py, python/lib/: use sorted glob.glob to improve reproducibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/moresetuptools.py

    r3820264 r2e40231  
    5959    fake_config_header = os.path.join('python', 'ext', 'config.h')
    6060    distutils.file_util.write_file(fake_config_header, "")
    61     aubio_sources = glob.glob(os.path.join('src', '**.c'))
    62     aubio_sources += glob.glob(os.path.join('src', '*', '**.c'))
     61    aubio_sources = sorted(glob.glob(os.path.join('src', '**.c')))
     62    aubio_sources += sorted(glob.glob(os.path.join('src', '*', '**.c')))
    6363    ext.sources += aubio_sources
    6464    # define macros (waf puts them in build/src/config.h)
Note: See TracChangeset for help on using the changeset viewer.