X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=setup.py;h=67e126e20a8b3c9e66b700d02f66f396dfffaeec;hb=b971e02b4b05a6484bcc04102148e29e35e90990;hp=e42d83b419fb88c48efa41659f51da2756f25c00;hpb=212876a1d4d1e8cefed6d4f2e2cbe2933cf0412f;p=torbrowser-launcher.git diff --git a/setup.py b/setup.py index e42d83b..67e126e 100644 --- a/setup.py +++ b/setup.py @@ -52,7 +52,9 @@ def create_mo_files(): return [] domain = "torbrowser-launcher" mo_files = [] - po_files = [f for f in next(os.walk(po_dir))[2] if os.path.splitext(f)[1] == ".po"] + po_files = sorted( + [f for f in next(os.walk(po_dir))[2] if os.path.splitext(f)[1] == ".po"] + ) for po_file in po_files: filename, extension = os.path.splitext(po_file) mo_file = domain + ".mo"