We are trying to keep the number of modules down to a minimum.

I suppose we could add a feature to the WeeWX extension installer that
allowed extension writers to specify which pypi modules they need for their
extension. It would look something like

class MyInstaller(ExtensionInstaller):
    def __init__(self):
        super().__init__(
            version="0.5",
            name='my',
            ...
            files=[
                ...
            ],
        pypi = [requests,]
        )

The installer would then run pip to install the specified modules.

-tk

On Wed, Aug 23, 2023 at 12:53 PM Chris Alemany <[email protected]> wrote:

> Hello all,
>
> I’ve moved over to v5 successfully for the most part. One missing piece
> I’ve come across with two extensions now is the Requests modules. I use the
> weewx-purpleAir and a Mastodon wxtoot extension that both rely on this
> module. I’m not sure how common it is in other extensions.
>
> I’m sure you want to keep the number of modules down to a minimum but I’ll
> put my hand up to include pip requests in the weewx-venv.
>
> Cheers
> Chris
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" 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-user/06890F55-849E-42BB-93BB-72CFCDB28960%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" 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-user/CAPq0zECky50vgw8k05_T34Ptx1DgoCM%2BHmNSGKDtZwMTWCqpnw%40mail.gmail.com.

Reply via email to