Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Piotr =?utf-8?Q?O=C5=BCarowski?= Newsgroups: linux.debian.maint.python Subject: Re: Properly splitting Python "-doc" packages Date: Thu, 14 Apr 2016 16:00:02 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Apr 14 13:52:26 2016 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.999 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -6.1 Mail-Followup-To: debian-python@lists.debian.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: Debian GNU/Linux (4.3.0-0.bpo.1-amd64) User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailing-List: archive/latest/13756 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/20160414135204.GQ2764@sar0.p1otr.com Approved: robomod@news.nic.it Lines: 28 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 14 Apr 2016 15:52:04 +0200 X-Original-Message-ID: <20160414135204.GQ2764@sar0.p1otr.com> X-Original-References: Xref: csiph.com linux.debian.maint.python:8428 [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