Properly splitting Python "-doc" packages

2016-04-14 Thread Tiago Ilieve
Hi, 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/

Re: Properly splitting Python "-doc" packages

2016-04-14 Thread Piotr Ożarowski
[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-v

Re: Properly splitting Python "-doc" packages

2016-04-14 Thread Tiago Ilieve
Hi Piotr, On 14 April 2016 at 10:52, Piotr Ożarowski wrote: > 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

Re: Properly splitting Python "-doc" packages

2016-04-14 Thread Piotr Ożarowski
[Tiago Ilieve, 2016-04-14] > On 14 April 2016 at 10:52, Piotr Ożarowski wrote: > > 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 > > (p

Re: Properly splitting Python "-doc" packages

2016-04-14 Thread Tiago Ilieve
Piotr, On 14 April 2016 at 12:33, Piotr Ożarowski wrote: > PYBUILD_NAME is used to guess the Debian binary package name (and that's > THE only thing it is used for), whatever is in setup.py doesn't matter. > > If you use PYBUILD_NAME=foo, it will install into: > > debian/python-foo/# python

Re: Properly splitting Python "-doc" packages

2016-04-14 Thread Piotr Ożarowski
[Tiago Ilieve, 2016-04-14] > > then PLEASE PLEASE PLEASE do not install as public modules - install into > > /usr/share/boostrap-vz/ f.e. with this pybuild args: > > > > export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/boostrap-vz/ > > --install-scripts=/usr/share/boostrap-vz/ > > > > and >

Re: Properly splitting Python "-doc" packages

2016-04-14 Thread Ben Finney
Tiago Ilieve writes: > Ok. As this seems to be considered very wrong, I've separated the > package[1], between "bootstrap-vz" and "python-bootstrap-vz". The > first one contains binaries/man pages/etc. and the later contains the > library with everything packaged by Pybuild. Is there really a ne

Re: Properly splitting Python "-doc" packages

2016-04-14 Thread Tiago Ilieve
Piotr, On 14 April 2016 at 18:28, Piotr Ożarowski wrote: > if you decide to go this way, please use python-bootstrapvz, not > python-bootstrap-vz (module name is bootstrapvz, not bootstrap-vz) > > I copy-pasted your typo in package name so dh_python2 didn't find the > right directory and didn't d