Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8429
| Path | csiph.com!goblin3!goblin1!goblin.stu.neva.ru!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Tiago Ilieve <tiago.myhro@gmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Properly splitting Python "-doc" packages |
| Date | Thu, 14 Apr 2016 17:10:02 +0200 |
| Message-ID | <rnR46-3Fm-21@gated-at.bofh.it> (permalink) |
| References | <rnPlE-2aV-3@gated-at.bofh.it> <rnPYm-2uu-11@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Apr 14 15:03:27 2016 |
| Old-Return-Path | <tiago.myhro@gmail.com> |
| X-Amavis-Spam-Status | No, score=-2.799 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=kFOTi0i7wS9VZ4DTWO4VWZEroa0HNAzxqo4/PlnDwAU=; b=KDC/Yw4DvEiQHYVPMKt9yDGKRAGfz7t74/mRNGtFFoJz1mO51S85654cP2uiTwuxud 6v8tTeRz+OowOrHH/6KjIdSkGDN4hmW1MF6915b5ZAuFVVAAiflVbLZbnQWOeTc0v0Nr jIa4PeEdvr2CyGFQZTL/E2iPLxxjHrdLetzcxkSGQM0kg/ssCaAqoGweNb1LI68QuCma JWE/xU9IPYElBAqpKlqw7xbPQgyCIxa5eKDWze6Cu4SZ7EQNdpyCbXzx+x7FoU/CC2M/ ZR5BHhyPPck6Z0s16hHAn7ARBF95xIJQyuUFrDNl5Y1iVjp402M4kJGyC+dswwcD4UvW v0Og== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=kFOTi0i7wS9VZ4DTWO4VWZEroa0HNAzxqo4/PlnDwAU=; b=XUkWsXSLgiFlQJIQ+GsYJR0y7eCXcFwxmalQa3M8rvz5SQ6tNenlytTBnDHXPJl8wx sK0IuX/uaNTLRPnYjsmiHNSrtdnztXpkELGSOmZYWnfnBX4C43MFVfmgCR0ev1NIX2ii GTm2wpuMURHEotHkk6tf8wCBrjX+id/Vs2WWB1GcONcSblnNjjF/dagOk9xPgXEOo5KF HErxnLpsm64oIg+9x6Asvr022ZccVlt8zYDj+uT7W8vHonieKo1BObAjqeSA+NknG5ni NxFmmpJT9GiFEoT3FDQzqjvQROajnKnfDReTN0B4dMAgvyzt3g9Ur7sxYkRQeiiwsBw/ hcuQ== |
| X-Gm-Message-State | AOPr4FXnWx7wjsXI62hBn3GwYKI4ovWOyBznizQVQdRml810wGNu1NvAacsH9+x0OHRhmiww1q+WK7e7AorOJQ== |
| X-Received | by 10.31.14.195 with SMTP id 186mr7671048vko.2.1460645270665; Thu, 14 Apr 2016 07:47:50 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13757 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CALdTKe-3dQWq+8AAm5UEyRdFKYZAE60Jf9RbP1dC+gaaHDd5Dw@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 49 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Thu, 14 Apr 2016 11:47:11 -0300 |
| X-Original-Message-ID | <CALdTKe-3dQWq+8AAm5UEyRdFKYZAE60Jf9RbP1dC+gaaHDd5Dw@mail.gmail.com> |
| X-Original-References | <CALdTKe_eAJ+5WL5Spmjo87JMPQgFsjyZpC3eT881W+nFznYxBQ@mail.gmail.com> <20160414135204.GQ2764@sar0.p1otr.com> |
| Xref | csiph.com linux.debian.maint.python:8429 |
Show key headers only | View raw
Hi Piotr, On 14 April 2016 at 10:52, Piotr Ożarowski <piotr@debian.org> 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 package, BTW) I had made a test with Pybuild, but ended up facing the same problem. Now I see that the problem is that the variable "PYBUILD_NAME" should have a value of "bootstrap-vz" (notice the hyphen), not "boostrapvz". Probably because this has to be consistent with whatever is the package name defined in "setup.py", right? Anyway, if the package is named "python-boostrapvz" it ended up properly packaging the files, but as I've mentioned here a couple times before[1][2], I don't want to call any Python application package as "python-*". bootstrap-vz is a CLI application and should end up in a package named "bootstrap-vz". The problem is that if I do this, I'll and up with an empty binary package package again. Is there a way to tell Pybuild that the Python files should end up in the package "bootstrap-vz" and not "python-bootstrap-vz"? > "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/ If I can fix the package name mentioned above, Pybuild will add the "*.egg-info/" folder as well. Regards, Tiago. [1]: https://lists.debian.org/debian-python/2016/04/msg00017.html [2]: https://lists.debian.org/debian-python/2016/04/msg00027.html -- 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 — Previous in thread | 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