]> sipb.mit.edu Git - ikiwiki.git/blob - doc/todo/location_of_external_plugins.mdwn
review
[ikiwiki.git] / doc / todo / location_of_external_plugins.mdwn
1 Would it be possible to make the installation location for the external
2 plugins (those talked to via xmlrpc) configurable? Currently, they are
3 installed into (and later expected to be in) /usr/lib/ikiwiki/plugins. For
4 the Fedora package (which I maintain), I move them to
5 /usr/libexec/ikiwiki/plugins. While not covered by the FHS, this seems to
6 be a more appropriate place, see:
7 https://fedoraproject.org/wiki/Packaging/Guidelines#Libexecdir.
8
9 > This would need to be a build time configuration setting so the directory
10 > is built into ikiwiki for use at runtime. --[[Joey]]
11
12 As a side note, the accompanying proxy.py might better be placed into some directory on the python path.
13
14 > If someone can show how to do so without needing a Setup.py and all the
15 > pain that using one entails.. --[[Joey]]
16
17 >> At the very least I don't think proxy.py should be on the `sys.path`
18 >> under its current name. If it was renamed to ikiwiki_proxy or some such,
19 >> possibly; but I think it's more appropriate to have it in an
20 >> ikiwiki-specific directory (a "private module") since it's not useful for
21 >> anything outside ikiwiki, and putting it in the same directory as the
22 >> external plugins means it's automatically in their `sys.path` without
23 >> needing special configuration. --[[smcv]]
24 >> (a mostly-inactive member of Debian's Python modules packaging team)