Explorar el Código

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 hace 7 años
committed by Kunal Mehta
padre
commit
c9cd504f14
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      setup.py

+ 1
- 1
setup.py Ver fichero

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


Cargando…
Cancelar
Guardar