diff options
author | Michael Weiser <michael.weiser@gmx.de> | 2019-05-14 11:46:33 +0000 |
---|---|---|
committer | Michael Weiser <michael.weiser@gmx.de> | 2019-05-21 13:59:50 +0000 |
commit | 1a5ff8dfdb0561382a736aa524b73e2f671f32f7 (patch) | |
tree | 72cb6774b1c9deb8cfb1b709642165b039e2900f /systemd/peekaboo.service | |
parent | 8bc271b6354b837ff2e83349a4b4e3e1a01f08db (diff) |
Distribute sample configuration files
Add ruleset.conf.sample to the distribution and configure setuptools to
install it together with the README, peekaboo.conf.sample and our
systemd unit into an fhs-like documentation directory.
Add a number of comments to setup.py so we remember why this seems to be
the least disruptive way out of the limited options presented by the
python/setuptools/distutils/pip mechanics of providing these files at a
location visible to users and still somewhat manageable by alternative
packagers (e.g. Linux distributions).
In short again:
- package_data would hide the files away below the site-packages
directory making them invisible to the user and hard(er) to find
programmatically
- absolute paths really don't work well with data_files
- relative paths work somewhat better but still not fully consistently
between setup.py and pip
- overriding the install command solves the installation but not the
packaging problem
Diffstat (limited to 'systemd/peekaboo.service')
0 files changed, 0 insertions, 0 deletions