Skip to content

Commit

Permalink
Sort .po input file list (#15)
Browse files Browse the repository at this point in the history
so that nfoview.appdata.xml builds in a reproducible way
in spite of indeterministic filesystem readdir order
and http://bugs.python.org/issue30461

See https://reproducible-builds.org/ for why this is good.
  • Loading branch information
bmwiedemann authored and otsaloma committed Oct 15, 2018
1 parent c267e86 commit 48f295f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def __get_mo_file(self, po_file):
def run(self):
"""Install data files after translating them."""
self.__generate_linguas()
for po_file in glob.glob("po/*.po"):
for po_file in sorted(glob.glob("po/*.po")):
if freezing: continue
self.data_files.append(self.__get_mo_file(po_file))
self.data_files.append(self.__get_appdata_file())
Expand Down

0 comments on commit 48f295f

Please sign in to comment.