[Tiago Ilieve, 2016-04-14] > I was working on the "boostrap-vz" package and noticed something > really annoying when creating a "boostrap-vz-doc"[1] binary package > with its Sphinx documentation: the actual Python files that composes > the application weren't being packaged on the main "boostrap-vz" one. > I had to add "usr/lib/python*/dist-packages/bootstrapvz/" to its > "debian/boostrap-vz.install"[2] to fix this, but I feel this is wrong. > Looking at other Python packages that have separate "-doc" packages, > like "python-django", they don't seem to need this.
that's because python-django is using --buildsystem=pybuild in dh; if you add export PYBUILD_NAME=bootstrapvz it will install .py / egg-info files into python-bootstrapvz binary package (please add python-bootstrapvz binary package, BTW) > Also, its "*.egg-info/" folder also went missing, as we can see with > "debdiff": "usr/lib/python*/dist-packages/bootstrapvz/" in bootstrap-vz.install doesn't match /usr/lib/python2.7/dist-packages/bootstrap_vz-0.9.5.egg-info, add this line if you want egg-info to be included: /usr/lib/python*/dist-packages/bootstrap_vz-*.egg-info/ -- 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