Misspoke about virtualbox. It does not require root to install a vm, but it
does to install the host. Config information is held in ~/.config

On Tue, Nov 8, 2022 at 11:39 AM Tom Keffer <[email protected]> wrote:

> Vince: pip can install to many places. Yes, it can install to the system's
> dist-packages, although I don't think that's a great idea. It requires sudo
> and can break existing applications. Better idea is to use "--user" and
> install to ~/.local, or install to a virtual environment, or use pipenv.
>
> The new tool would then install to either /home/weewx or ~/.weewx, or
> something similar.
>
> Greg: The package installers would continue to install to /etc/weewx. For
> those who want something that "just works" that continues to be a good
> idea. However, there is a disadvantage: it requires sudo to install and
> edit. Many of us also prefer to have everything under one subdirectory
> (such as /home/weewx or ~/.weewx, or what have you).
>
> While many apps install to $prefix/etc, not all do. Many depend on
> configuration settings under ~/.local or their own subdirectory. It's by no
> means universal. In fact, it feels to me that the trend has been towards
> non-privileged installs. Npm, nvm, node, chrome, pyenv, JetBrains products,
> slack (via snap), docker-desktop, virtualbox --- none of them require root
> privileges and all of them put config information under the user directory.
>
> -tk
>
> On Tue, Nov 8, 2022 at 11:01 AM Vince Skahan <[email protected]>
> wrote:
>
>> On Tuesday, November 8, 2022 at 10:34:19 AM UTC-8 Tom Keffer wrote:
>>
>>> Our new "second step" tool would use importlib.resources
>>> <https://docs.python.org/3/library/importlib.resources.html> to find
>>> package data, which is still supported (indeed, *encouraged*), and then
>>> copy it into place.
>>>
>>> Yup. One more step.
>>>
>>
>> Assuming this means weewx will now install under
>> /usr/lib/python3/dist-packages (pi example) like any other python library,
>> will the new tool also drop the core skins like Seasons into place in
>> /home/weewx/skins ?
>>
>> In other words anything writable/editable or user-added remains as-is
>> under /home/weewx ?
>>
>> --
>> 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/fadf79ab-49aa-4ab8-95bb-dd4b8ca7a906n%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-development/fadf79ab-49aa-4ab8-95bb-dd4b8ca7a906n%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/CAPq0zEAeO-G%3Drbnwmg2RU4LNOHnr1UE_00X4Ut2Z6wQByFdWRw%40mail.gmail.com.

Reply via email to