Bladeren bron

setup.py: Make source files be in a deterministic order

To make the package build reproducibly, sort the source files in a
deterministic order instead of just globbing them.

Patch originally from
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842628>.
tags/v0.4.4
Reiner Herrmann 8 jaren geleden
committed by Kunal Mehta
bovenliggende
commit
c9cd504f14
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      setup.py

+ 1
- 1
setup.py Bestand weergeven

@@ -75,7 +75,7 @@ if fallback:
# Project-specific part begins here:

tokenizer = Extension("mwparserfromhell.parser._tokenizer",
sources=glob("mwparserfromhell/parser/ctokenizer/*.c"),
sources=sorted(glob("mwparserfromhell/parser/ctokenizer/*.c")),
depends=glob("mwparserfromhell/parser/ctokenizer/*.h"))

setup(


Laden…
Annuleren
Opslaan