On 2025-03-10 stefa...@debian.org wrote: > Hi Alexandre (2025.03.10_10:32:28_+0000) > > Maybe can Stefano answer help you. > > Greetings
> > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099543#15 > > > If you install modules to a private path like that, you should install > > > an rtupdate script in /usr/share/python3/runtime.d/ that calls py3clean > > > and py3compile. > That message was in the context of debputy, an alternative to debhhelper. > hugin looks like uses standard package tooling, so you just need to specify > /usr/share/hugin/data/ as a private module path to dh_python3. [...] Hello, thank you for the hand-holding. Hugin already does point dh_python to the respective subdirectory[1] and dh_python adds postinst/prerm scripts to hugin*. The cleanup therefore happens when hugin ins uninstalled or upgraded. Alexandre would like to have the cleanup unrelated to hugin upgrade on python-3.12-removal. So this sounds like a feature request for dh-python. cu Andreas [1] 40 override_dh_python3: 41 dh_python3 -i /usr/share/hugin/data/plugins 42 dh_python3 -a -- `What a good friend you are to him, Dr. Maturin. His other friends are so grateful to you.' `I sew his ears on from time to time, sure'