Re: unwanted python-X-dbg
[Jeremy Sanders, 2016-05-08]
> Sorry - another question about pybuild. I'm defining
>
> export PYBUILD_NAME=veusz
thanks to this ^ one...
> export PYBUILD_DESTDIR_python3=debian/veusz
> export PYBUILD_DESTDIR_python3-dbg=debian/veusz-dbg
you don't need these ^ two, that's the default
> Which seems to work with
> dh $@ --with python3 --buildsystem=pybuild
>
> However, when rebuilding I get error messages about a
> debian/python3-veusz-dbg directory which seems to contain a second
> installation of the module:
>
> dpkg-source: error: unwanted binary file: debian/python3-veusz-dbg/usr/lib/python3.5/dist-packages/veusz/icons/settings_stylesheet.png
> dpkg-source: error: unwanted binary file: debian/python3-veusz-dbg/usr/lib/python3.5/dist-packages/veusz/icons/settings_axislabel.png
> ...
do you have python3-veusz-dbg binary package?
dh_python3 will remove non .py/.so files from -dbg's packages
dist-packages directory by default, but this looks like dpkg-source not
knowing about python3-veusz-dbg to me
--
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
Reply to: