def run(self): """Install data files after translating them.""" for po_file in glob.glob("po/*.po"): self.data_files.append(self.__get_mo_file(po_file)) self.data_files.append(self.__get_appdata_file()) self.data_files.append(self.__get_desktop_file()) install_data.run(self)
def run(self): """Install data files after translating them.""" self.__generate_linguas() for po_file in 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()) self.data_files.append(self.__get_desktop_file()) install_data.run(self)
def run(self): """Install data files after translating them.""" if self.distribution.with_aeidon: for po_file in glob.glob("po/*.po"): self.data_files.append(self.__get_mo_file(po_file)) for pattern_file in glob.glob("data/patterns/*.in"): self.data_files.append(self.__get_pattern_file(pattern_file)) if self.distribution.with_gaupol: for extension in os.listdir("data/extensions"): pattern = "data/extensions/{}/*.extension.in" pattern = pattern.format(extension) for extension_file in glob.glob(pattern): t = self.__get_extension_file(extension, extension_file) self.data_files.append(t) self.data_files.append(self.__get_desktop_file()) install_data.run(self) if self.distribution.with_gaupol: self.__build_extensions()
def run(self): """Install data files after translating them.""" if self.distribution.with_aeidon: for po_file in glob.glob("po/*.po"): self.data_files.append(self.__get_mo_file(po_file)) for pattern_file in glob.glob("data/patterns/*.in"): self.data_files.append(self.__get_pattern_file(pattern_file)) if self.distribution.with_gaupol: for extension in os.listdir("data/extensions"): pattern = "data/extensions/%s/*.gaupol-extension.in" pattern = pattern % extension for extension_file in glob.glob(pattern): t = self.__get_extension_file(extension, extension_file) self.data_files.append(t) self.data_files.append(self.__get_desktop_file()) install_data.run(self) if self.distribution.with_gaupol: self.__build_extensions()
def run(self): self.data_files.extend(self._find_css_files()) self.data_files.extend(self._find_mo_files()) install_data.run(self) if not self.distribution.without_icon_cache: self._update_icon_cache()