From: http://smcv.pseudorandom.co.uk/ Date: Thu, 27 Nov 2008 10:26:28 +0000 (-0500) Subject: I don't think putting proxy.py in the system Python path is appropriate X-Git-Tag: 2.71~210^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7592a6f5b6349ecd6d52d701c2975cb509c98292;p=ikiwiki.git I don't think putting proxy.py in the system Python path is appropriate --- diff --git a/doc/todo/location_of_external_plugins.mdwn b/doc/todo/location_of_external_plugins.mdwn index 28b762080..c28003e74 100644 --- a/doc/todo/location_of_external_plugins.mdwn +++ b/doc/todo/location_of_external_plugins.mdwn @@ -13,3 +13,12 @@ As a side note, the accompanying proxy.py might better be placed into some direc > If someone can show how to do so without needing a Setup.py and all the > pain that using one entails.. --[[Joey]] + +>> At the very least I don't think proxy.py should be on the `sys.path` +>> under its current name. If it was renamed to ikiwiki_proxy or some such, +>> possibly; but I think it's more appropriate to have it in an +>> ikiwiki-specific directory (a "private module") since it's not useful for +>> anything outside ikiwiki, and putting it in the same directory as the +>> external plugins means it's automatically in their `sys.path` without +>> needing special configuration. --[[smcv]] +>> (a mostly-inactive member of Debian's Python modules packaging team)