Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11961
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Kitterman <debian@kitterman.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: package_data in python package |
| Date | Mon, 28 Oct 2019 16:20:02 +0100 |
| Message-ID | <yWeYi-3m0-1@gated-at.bofh.it> (permalink) |
| References | <yWelz-2Sv-7@gated-at.bofh.it> <yWevf-2Wb-5@gated-at.bofh.it> <yWeOB-3is-7@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Oct 28 15:16:07 2019 |
| Old-Return-Path | <debian@kitterman.com> |
| X-Amavis-Spam-Status | No, score=-12.08 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -5.5 |
| Dkim-Signature | v=1; a=ed25519-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903e; t=1572275752; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type : from; bh=oGbChkwXrxVL1z1VqlYOqbXwC4Vv3Eau2CizxrjIwD0=; b=+kR86XB1ogOaYd6ScnCXdxk9MT9AcLcRuz3HeVtDjUm0WVOCQHCUXr0x BDgin4PPoGyEmU62jFT9FcqgU6HUAg== |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/simple; d=kitterman.com; i=@kitterman.com; q=dns/txt; s=201903r; t=1572275752; h=from : to : subject : date : message-id : in-reply-to : references : mime-version : content-type : from; bh=oGbChkwXrxVL1z1VqlYOqbXwC4Vv3Eau2CizxrjIwD0=; b=FxvQzZwusDbjlzWd1Xd7j0iMEM40i28vxSBz2HGwn6kNJduP62f7TeAv r+pR0wCdEwWO6g3hiEgNVRh2uteTEAYY5D98ptOJgHDr4Z5PtNqYb3H/7k XjjL2QBbIQ1inFh/dJZagojWJknzWnoKIIn6b5UwOC7fgXSGYdrNndfWON X9ZMg5Rjzl46ITE5p9lrWjA1ciwZfUfxGyPtaqwFOBQvBNqnmnFN0fDYmQ YJdms1rdikxdfPE60GXhOhOzsDLt7ENueW3/8Zu7ZLp+N1MSsyfWWsBpSb LJATt8iFnt0urxv9RPzfYrRAjY8iIW2x4l045GUXy6m2dsXM4+9H9Q== |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; boundary="nextPart2408120.be4nrGFM3z"; micalg="pgp-sha1"; protocol="application/pgp-signature" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/17522 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/3360581.9UBmNTVxP0@l5580 |
| Approved | robomod@news.nic.it |
| Lines | 48 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 28 Oct 2019 11:15:47 -0400 |
| X-Original-Message-ID | <3360581.9UBmNTVxP0@l5580> |
| X-Original-References | <20191028142544.zlzgobcvpm3yzbvt@capeo.gueux.org> <2505510.ydTWeorpcb@l5580> <20191028150240.hk5wrdpxhiv43w6g@capeo.gueux.org> |
| Xref | csiph.com linux.debian.maint.python:11961 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Monday, October 28, 2019 11:02:40 AM EDT Félix Sipma wrote: > On 2019-10-28 10:44-0400, Scott Kitterman wrote: > > It's the way setuptools works. Looking at the current upstream > > recommendations: > > > > https://python-packaging.readthedocs.io/en/latest/non-code-files.html > > > > your solution seems correct. > > Hi Scott, > > Thanks for your message. I'm not sure I get why upstream can't reproduce > the problem in this case... setuptools, as used in the setup.py seems to > install the data dir just fine, and without my patch. > > That's why I thought that it was maybe a limitation of dh-python... It does depend considerably on how you do the install. For example, to replicate what pip does (to get the data files installed) you have to do: python setup.py install --single-version-externally-managed --record=/dev/null I don't find I need to do that with pybuild though. I find setuptools handling of data files highly mysterious and counter-intuitive, so I doubt I'll have more specific advice. Scott K
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
package_data in python package Félix Sipma <felix+debian@gueux.org> - 2019-10-28 15:40 +0100
Re: package_data in python package Scott Kitterman <debian@kitterman.com> - 2019-10-28 15:50 +0100
Re: package_data in python package Félix Sipma <felix+debian@gueux.org> - 2019-10-28 16:10 +0100
Re: package_data in python package Scott Kitterman <debian@kitterman.com> - 2019-10-28 16:20 +0100
Re: package_data in python package Félix Sipma <felix+debian@gueux.org> - 2019-10-28 16:30 +0100
Re: package_data in python package Ole Streicher <olebole@debian.org> - 2019-10-28 17:20 +0100
csiph-web