[meld/windows-build-style-scheme: 2/3] build_helpers: Update the setuptools i18n logic for style schemes



commit d869b6c520ef3725b09f8172ea7926a35bfe6078
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Jan 11 09:37:13 2020 +1000

    build_helpers: Update the setuptools i18n logic for style schemes
    
    These are now translated, so need to be in the i18n section. This
    doesn't actually help the current Windows build, because we don't run
    the i18n build in that environment at all.

 meld/build_helpers.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meld/build_helpers.py b/meld/build_helpers.py
index 227f2cf8..4c30ce55 100644
--- a/meld/build_helpers.py
+++ b/meld/build_helpers.py
@@ -264,6 +264,7 @@ class build_i18n(distutils.cmd.Command):
     # way except magically extracting them from self.distribution.data_files
     desktop_files = [('share/applications', glob.glob("data/*.desktop.in"))]
     xml_files = [
+        ('share/meld/styles', glob.glob("data/styles/*.style-scheme.xml.in")),
         ('share/metainfo', glob.glob("data/*.appdata.xml.in")),
         ('share/mime/packages', glob.glob("data/mime/*.xml.in"))
     ]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]