Ignore:
Timestamp:
Nov 28, 2016, 3:48:47 PM (8 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/gen_external.py

    r3820264 r2e40231  
    175175def generate_external(header=header, output_path=output_path, usedouble=False, overwrite=True):
    176176    if not os.path.isdir(output_path): os.mkdir(output_path)
    177     elif not overwrite: return glob.glob(os.path.join(output_path, '*.c'))
     177    elif not overwrite: return sorted(glob.glob(os.path.join(output_path, '*.c')))
    178178
    179179    cpp_output, cpp_objects = get_cpp_objects(header)
Note: See TracChangeset for help on using the changeset viewer.