Bläddra i källkod

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 7 år sedan
committed by Kunal Mehta
förälder
incheckning
c9cd504f14
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      setup.py

+ 1
- 1
setup.py Visa fil

@@ -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(


Laddar…
Avbryt
Spara