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.
Stefano
--
Stefano Rivera
http://tumbleweed.org.za/
+1 415 683 3272