On Sun, 6 Nov 2022 14:06:39 -0800 Tom Keffer <[email protected]> wrote:
> Alternatively, after the pip install, but before first use, the user > would be expected to "initialize" or "customize" the install via a > tool, which is when these resources would be copied into place. Not grökking this thread in its entirety, I'm nevertheless moved to chime in. Extension authors appreciate the convenience of the the ExtensionEngine class in the bin/weecfg/extension.py module and its interlineal expository comments. (I've just poked through the WeeWX online docs, looking for something that would remind me of how I decided to package my Phenology Extension, and the extension.py code comments seem the most likely source of inspiration.) Such scripting for installing extension(s) is, of course, user-initiated. Thus, it seems to fall into the category of user-customization tools, which you allude to, above. It is a third tier of adapting WeeWX to the needs of the user and comes after successful WeeWX installation — when all the code and data storage locations and execution permissions have been sorted out — and after user initialization. ... so it would seem that there will always be a need for customization whether or not the installation tools can handle it, at least from the perspective of extension authors. It is most helpful that you have paid some attention toward automating these post-installation and post-initialization customization tasks, particularly the additions to weewx.conf that an extension requires. (If these insertions to weewx.conf destroy the preexisting pretty formatting, well, that's a problem for the *configobj* maintainers; isn't it?) -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: http://LacusVeris.com/WX .. 45° — Wind ESE 14 mph — Sky mostly clear. -- You received this message because you are subscribed to the Google Groups "weewx-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-development/20221108103028.637c3c9d%40wealthy.
