Ah! Sorry, now I get your question. Not documented, but the example "basic" follows it.
Old style: *from setup import ExtensionInstaller* New style: *from weecfg.extension import ExtensionInstaller* On Mon, Jan 30, 2023 at 3:03 PM Vince Skahan <[email protected]> wrote: > yes - something else. > > You mentioned that previously the installer didn't work because the skin > "uses an older method of importing the ExtensionInstaller", as all of mine > do too. I was asking what the newer/current method looks like. Is that > documented someplace I missed finding ? > > On Monday, January 30, 2023 at 3:00:19 PM UTC-8 Tom Keffer wrote: > >> You mean, besides the docs for *weectl extension install* >> <https://weewx.com/v5-docs/weectl/extension/#weectl-extension-install>? >> >> On Mon, Jan 30, 2023 at 2:39 PM Vince Skahan <[email protected]> wrote: >> >>> Thanks Tom. My ecowitt skin (link >>> <https://github.com/vinceskahan/weewx-ecowitt-skin>) now installs ok. >>> If there are pointers to the current way to import it, let us know :-) >>> >>> >>> On Monday, January 30, 2023 at 1:17:53 PM UTC-8 Tom Keffer wrote: >>> >>>> On Mon, Jan 30, 2023 at 7:32 AM G Hammer <[email protected]> wrote: >>>> >>>>> Should I be able to install a non-core skin in the alpha? >>>>> I just attempted to install the belchertown skin and it failed. >>>>> >>>> >>>> You should be able to, but Belchertown uses an older method of >>>> importing the ExtensionInstaller, which V5 was not prepared to accept. This >>>> has now been fixed in v5.0.0a15. >>>> >>>> -tk >>>> >>> -- >>> >> 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/270ed790-2416-4c6f-91f8-6ed3aa3b747cn%40googlegroups.com >>> <https://groups.google.com/d/msgid/weewx-development/270ed790-2416-4c6f-91f8-6ed3aa3b747cn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > 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/a19d8ded-952f-4ef8-9518-3ed5615ffb48n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-development/a19d8ded-952f-4ef8-9518-3ed5615ffb48n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAPq0zEB0Gc4eJiCpEvFRYwKh6wEGPQPe7M0BKoaw9expJw9oLA%40mail.gmail.com.
