Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8427
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Tiago Ilieve <tiago.myhro@gmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Properly splitting Python "-doc" packages |
| Date | Thu, 14 Apr 2016 15:20:02 +0200 |
| Message-ID | <rnPlE-2aV-3@gated-at.bofh.it> (permalink) |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Apr 14 13:18:09 2016 |
| Old-Return-Path | <tiago.myhro@gmail.com> |
| X-Amavis-Spam-Status | No, score=-1.699 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -7 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=s/KSYyRFaE6VKHqpPROBEq90nTaZ8hQ4lCdzbKTQkuI=; b=F09vrDE2Q6MuRYbCNvyeWM0CAQBPd4i7LthRkTpEw5IrFM8Ei6MNGx/qK3PukbrUcR t6qvXJ+XPRY8ttd5qLR/vuel09p8E7et34KNZY6sTWsR5hVQaRR4ZUL4+8bcSxbDx13S 440s2TBJ5LZUk1MTrS8N6w+/zW6QojLIbSDfEnIwhpCw70EMm0pnWd6fFNG1v4ydn6Gz egL8F3YPrXs6pPXKgjObSoit6iLRUtAwU+M0aLCFuOwg2arhM0ra5Ynx8U5raqhd/VmQ 6rwvwUK+tTP7tta8OhYUGRRmAUQBSHI1PnVfNwBv/QchF3ZzfUDBoSwxHHFXk3HRtVn6 /VcA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=s/KSYyRFaE6VKHqpPROBEq90nTaZ8hQ4lCdzbKTQkuI=; b=Ry0bJdm5VTBzXMQ7O099WutQ8zwzPne6J6aRH0ro1HBxaGHoyRTNFn7AWrfSegdA2N UnpewKoIrj4fKQcccgg3R/Ws5FqaeW2hgE2Lux9bsOG8+o+hPbAIidv6dxSyK0t7g1wm u3KY0pTP+jpXhA8zUb6i+ACIsjA3AhpGpnludCAuF8SXmX2IR4YOnkcrYwEBmS9CfHD3 hLo6jhQ3ypOrV4K1DuY9LoA3tP8anKcC4TBtZD08c/5uxeyIlyNgLflGVfjDwdRrDDf7 Gt9uTUBCECCn7w8BWPsFx5D41QB4wsg98WRzO2NVcm7Ir1YkPbShMypWJ7Q7w9CT0PJl RS0g== |
| X-Gm-Message-State | AOPr4FUlR/DTU2L+QgpepNwY6mFt4r0pcjARgQ+BlYqQgMfwqI+LzTp+pQBmUrpL+NKSJL4Mi++enCUVQX/jkg== |
| X-Received | by 10.159.39.97 with SMTP id a88mr7777142uaa.133.1460638859375; Thu, 14 Apr 2016 06:00:59 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13755 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CALdTKe_eAJ+5WL5Spmjo87JMPQgFsjyZpC3eT881W+nFznYxBQ@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 47 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 14 Apr 2016 10:00:20 -0300 |
| X-Original-Message-ID | <CALdTKe_eAJ+5WL5Spmjo87JMPQgFsjyZpC3eT881W+nFznYxBQ@mail.gmail.com> |
| Xref | csiph.com linux.debian.maint.python:8427 |
Show key headers only | View raw
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/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. Also, its "*.egg-info/" folder also went missing, as we can see with "debdiff": Files in first .deb but not in second ------------------------------------- -rw-r--r-- root/root /usr/lib/python2.7/dist-packages/bootstrap_vz-0.9.5.egg-info/PKG-INFO -rw-r--r-- root/root /usr/lib/python2.7/dist-packages/bootstrap_vz-0.9.5.egg-info/dependency_links.txt -rw-r--r-- root/root /usr/lib/python2.7/dist-packages/bootstrap_vz-0.9.5.egg-info/entry_points.txt -rw-r--r-- root/root /usr/lib/python2.7/dist-packages/bootstrap_vz-0.9.5.egg-info/requires.txt -rw-r--r-- root/root /usr/lib/python2.7/dist-packages/bootstrap_vz-0.9.5.egg-info/top_level.txt This broke its entry point scripts (at least I finally find out the cause of the "pkg_resources.DistributionNotFound" error), so I had to either add custom ones[3] or add "usr/lib/python2.7/dist-packages/bootstrap_vz-*.egg-info/" to its "debian/boostrap-vz.install" file as well. Any ideas on what I missed here? Regards, Tiago. [1]: https://anonscm.debian.org/git/cloud/bootstrap-vz.git/commit/?id=899e841f89d17418de77e5d7f56ff48627415e79 [2]: https://anonscm.debian.org/git/cloud/bootstrap-vz.git/commit/?id=7d0cf538f8e806f83529b3b7cad9af3ee93cca42 [3]: https://anonscm.debian.org/git/cloud/bootstrap-vz.git/commit/?id=d8ec5b17af1f96d9b1221963abf5abc3ef087900 -- Tiago "Myhro" Ilieve Blog: https://blog.myhro.info/ GitHub: https://github.com/myhro LinkedIn: https://br.linkedin.com/in/myhro Montes Claros - MG, Brasil
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 15:20 +0200
Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 16:00 +0200
Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 17:10 +0200
Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 17:40 +0200
Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-14 22:20 +0200
Re: Properly splitting Python "-doc" packages Piotr Ożarowski <piotr@debian.org> - 2016-04-14 23:30 +0200
Re: Properly splitting Python "-doc" packages Tiago Ilieve <tiago.myhro@gmail.com> - 2016-04-15 08:40 +0200
Re: Properly splitting Python "-doc" packages Ben Finney <ben+debian@benfinney.id.au> - 2016-04-15 06:00 +0200
csiph-web