Path: csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod From: =?UTF-8?Q?Louis-Philippe_V=c3=a9ronneau?= Newsgroups: linux.debian.maint.python Subject: Re: Installing data files with pybuild Date: Wed, 01 Dec 2021 19:40:03 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Dec 1 18:33:13 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.198 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 X-Riseup-User-ID: 2235330CFD4D3D9EA233DDE61F4BDD66A6B3650EE9D8143C8041D7591A006B43 MIME-Version: 1.0 Content-Language: en-US Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------GkomI4lF5qLxj9ZxtNy0BAqw" X-Mailing-List: archive/latest/19559 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/3d81d3f5-e425-73be-ec91-797dc1af41f6@debian.org Approved: robomod@news.nic.it Lines: 55 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 1 Dec 2021 13:32:38 -0500 X-Original-Message-ID: <3d81d3f5-e425-73be-ec91-797dc1af41f6@debian.org> X-Original-References: Xref: csiph.com linux.debian.maint.python:13751 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------GkomI4lF5qLxj9ZxtNy0BAqw Content-Type: multipart/mixed; boundary="------------gPHvoWf0iPUgOScfhJmn4SpR"; protected-headers="v1" From: =?UTF-8?Q?Louis-Philippe_V=c3=a9ronneau?= To: debian-python@lists.debian.org Message-ID: <3d81d3f5-e425-73be-ec91-797dc1af41f6@debian.org> Subject: Re: Installing data files with pybuild References: In-Reply-To: --------------gPHvoWf0iPUgOScfhJmn4SpR Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2021-12-01 12 h 28, Andrey Rahmatullin wrote: >=20 >> Only the .py files are currently included in the build; what is the >> best way to include all of the data files after the build step and >> before the test step, and then to ensure they are included in the >> final package? > Apart from fixing setup.py? execute_after_dh_auto_install I guess. Or you can use debian/foobar.install to install the missing files in the right location, and keep your d/rules file cleaner :) ex. (man dh_install): https://sources.debian.org/src/sublime-music/0.11.16-1/debian/sublime-mus= ic.install/ --=20 =E2=A2=80=E2=A3=B4=E2=A0=BE=E2=A0=BB=E2=A2=B6=E2=A3=A6=E2=A0=80 =E2=A3=BE=E2=A0=81=E2=A2=A0=E2=A0=92=E2=A0=80=E2=A3=BF=E2=A1=81 Louis-= Philippe V=C3=A9ronneau =E2=A2=BF=E2=A1=84=E2=A0=98=E2=A0=B7=E2=A0=9A=E2=A0=8B pollo@debian.o= rg / veronneau.org =E2=A0=88=E2=A0=B3=E2=A3=84 --------------gPHvoWf0iPUgOScfhJmn4SpR-- --------------GkomI4lF5qLxj9ZxtNy0BAqw Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQTKp0AHB6gWsCAvw830JXpQshz6hQUCYae/xgAKCRD0JXpQshz6 hUVtAPwNRdbwl9p3ZKG+vcSQhw7YGAwPZS17rfh87vHB1oPAVwD+LgiOVxUOwmgT D1uR/8yoLgzvkwRZqTL3Qma1BYf7HwU= =hWqo -----END PGP SIGNATURE----- --------------GkomI4lF5qLxj9ZxtNy0BAqw--