Yo Hal! On Thu, 06 Dec 2018 11:53:58 -0800 Hal Murray via devel <[email protected]> wrote:
> What's the right way to get rid of leftover junk?
Dunno. gpsd also has the same problem.
> The recent switch to installing things in PYTHONARCHDIR rather than
> PYTHONDIR left the old versions in PYTHONDIR. We have had similar
> problems in the ancient past when we renamed programs.
Also happens when people play with different install options.
> Should we have code that looks for old stuff? Should it be part of
> waf install, or a stand alone script?
We have no way to know what the previsou installer did. So no way to undo
it. I don't see a way around that problem.
> Should we actually remove it, or just point it out and let people
> remove it by hand?
We can't remove other copies, it may be intentional. For example, I'll
have NTPsec installed for many different Python versions at the same
time. Some users will install their distro ntpd, and from the tar ball,
and flip-flop between version.
So what we have is a run-time problem, not an install time problem.
What I recently did to gpsd is to have all the client programs check the
modules versions before using the module. Smoked out a lot of old
junk.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
[email protected] Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
pgpnDyzVGCBuB.pgp
Description: OpenPGP digital signature
_______________________________________________ devel mailing list [email protected] http://lists.ntpsec.org/mailman/listinfo/devel
