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 /MANIFEST.in | |
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 'MANIFEST.in')
-rw-r--r-- | MANIFEST.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index fd4e3d7..c27a6c7 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,8 @@ include README.md include LICENSE.txt +include CHANGELOG.md include requirements.txt include peekaboo.conf.sample +include ruleset.conf.sample include systemd/peekaboo.service graft peekaboo/locale |