Not sure what you're asking for. There is quite a bit of information in the *Upgrade Guide <https://weewx.com/docs/5.0/upgrade/>*. What's missing?
On Sun, Nov 26, 2023 at 11:41 AM Joel Bion <[email protected]> wrote: > I seriously think there is a formal case study that needs to be written > about the challenges of moving WeeWX to the current Python installation > model. > > There’s a lesson here for not just the Python developers but others about > the difficulty of this transition, because the way WeeWX did things (all > things under /home/weewx) was not unreasonable but what has been required > to migrate, and the need to support custom package managers, etc…. I just > think that this information is useful. > > > Sent from my iPhone > > On Nov 26, 2023, at 11:33 AM, Tom Keffer <[email protected]> wrote: > > > /etc/weewx/bin is added to the Python path dynamically when weewxd is > started up. However, because it is added to the end of the path, the > interpreter will find the version in /usr/share/weewx first. > > So, why not add it to the beginning of the Python path? Because that > causes problems for legacy setup.py installs. In this case, the interpreter > will find the code in /home/weewx/bin first, which is the old V4.10 code. > The V5 code is under ~/weewx-venv. > > In summary, there's no good solution except to warn users. > > -tk > > > On Sun, Nov 26, 2023 at 9:15 AM Karen K <[email protected]> wrote: > >> Tom Keffer schrieb am Sonntag, 26. November 2023 um 13:50:23 UTC+1: >> >> This issue is already known (always read the Upgrade Guide!). See >> https://weewx.com/docs/5.0/upgrade/#new-location-for-user-directory >> >> >> This is a slightly other problem here. I did a new clean install, no >> upgrade. >> >> My problem was, that the old directory /usr/share/weewx/user still exists >> and Python looks for modules there only. >> >> So the extensions were installed to /etc/weewx/bin/user, but Python did >> not look for them there. >> >> -- >> 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/35032165-08d5-4415-8e9d-d2996ce8ca84n%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-development/35032165-08d5-4415-8e9d-d2996ce8ca84n%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/CAPq0zEAtRxWk2JG7OYC_ontEnv-fFLLdXGUr2KDzf_nyv24XaQ%40mail.gmail.com > <https://groups.google.com/d/msgid/weewx-development/CAPq0zEAtRxWk2JG7OYC_ontEnv-fFLLdXGUr2KDzf_nyv24XaQ%40mail.gmail.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/CAPq0zEBLcqkY_59Sa0xOW8CkB2kqC%2BR%2BMc2DnzU5sDfQ6dgQbQ%40mail.gmail.com.
