blob: dc80c3eb59c012c03276b2e0424a312745c3ccb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Authors: see git history
#
# Copyright (c) 2010 Authors
# Licensed under the GNU GPL version 3.0 or later. See the file LICENSE for details.
from .utils import build_environment, write_inx_file
def generate_info_inx_files(alter_data):
env = build_environment()
info_inx_files = ['about', 'embroider']
for info in info_inx_files:
template = env.get_template(f'{info}.xml')
write_inx_file(info, template.render(alter_data))
|