> Cześć Piotr, Привет! :)
> When that file is built, it needs dh_python3 to replace shebang and add > correct ${python3:Depends}. Of course I can do it manually, but my question > was about how to make dh_python3 ignore a particular .so file, and I am > still interested in that. there's --skip-private that will tell dh_python3 to not touch /usr/lib/gnome-applets/ if you plan to ship this script in /usr/bin/, if not, then: override_dh_auto_install: dh_auto_install sed -i -e '1s,/usr/bin/foo,/usr/bin/bar,' $CURDIR/debian/gnome-applets/usr/lib/gnome-applets/foo not calling dh_python3 at all and add required interpreter to Depends by hand would be my suggestion. There are no other options right now (and I don't really plan to add them) -- Piotr Ożarowski Debian GNU/Linux Developer www.ozarowski.pl www.griffith.cc www.debian.org GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645