Преглед изворни кода

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 година
committed by Kunal Mehta
родитељ
комит
c9cd504f14
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      setup.py

+ 1
- 1
setup.py Прегледај датотеку

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


Loading…
Откажи
Сачувај