forked from thinkle/gourmet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
25 lines (22 loc) · 992 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[sdist]
formats = bztar
force_manifest = 1
# Note that we're adding our *.gourmet-plugin files to the desktop_files parameter
# of the [build_i18n] section, as they're structured like *.desktop files.
# This requires tricking DistUtilsExtra into installing them into the python
# modules location (given by install_lib) instead of a subdirectory of data_dir,
# as it would normally. We also need to check if setup.py was actually invoked with
# the `install` command in order not to break things when only building gourmet
# (or just *.mo and *.gourmet-plugin files by running `python setup.py build_i18n -m`).
[build_i18n]
domain=gourmet
desktop_files=[
("share/applications", ("gourmet.desktop.in",)),
("share/gourmet/plugins", glob.glob("gourmet/plugins/*.gourmet-plugin.in")),
("share/gourmet/plugins/import_export", glob.glob("gourmet/plugins/import_export/*.gourmet-plugin.in"))
]
xml_files=[
("share/appdata", ("gourmet.appdata.xml.in",)),
]
[build_icons]
icon_dir=data/icons