Path: csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Andrey Rahmatullin Newsgroups: linux.debian.maint.python Subject: Re: Installing data files with pybuild Date: Wed, 01 Dec 2021 18:30:02 +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 17:28:40 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -3.5 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9DvP7pgVgR2Sn9O4" Content-Disposition: inline X-Mailing-List: archive/latest/19558 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/Yaewt26Vn0OJ3Chy@belkar.wrar.name Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 1 Dec 2021 22:28:23 +0500 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:13749 --9DvP7pgVgR2Sn9O4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 01, 2021 at 04:57:44PM +0000, Julian Gilbey wrote: > Hello! >=20 > pybuild is magic. It knows where the build directory is, despite it > seemingly calling setup.py with no command line arguments specifying > it! >=20 > But anyway, my actual question is this. How do I ensure that the data > files are also copied into the package? Why do you need this? Does setup.py not install them? > 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. --=20 WBR, wRAR --9DvP7pgVgR2Sn9O4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmGnsLctFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh QrYP/AxzEup8iHYlL7cCcn+g+OidM+uYQqBnMGAElGUgScJ3IK9BmLkzkUYOawAk n2+6iWDYOUapcPQnGi56OIkhjwtfbql8XYxOhHpe4z0RCFkeLyjUkNYVnCcHQG9m 3nAM7ZRXrTUx8+dc40QNhmTxqXcyKBeW7HPvKewh2pGq4twOTyTkYrHtDJx9OQ2q /XzMEgPKuJl9P3BGVs6l0EBbZa7v0JN33AhqEhzFG643z5ruBud928QyySnfr8O/ 5c+CGhE6EI68q7bVWsT/8aJqeAVhg3oWmAOu9tTnyimEHIw3dn1uZZArmKp+Qlnx 0pzfpqapeYrUODyXQ99F3ejwm55wll/c/rg78s5j9rrWqYHn6HoIZCOAKksi1HM1 DzG3vqOkvtQW7WkXU/gPsM1/iVmvtbbKcl1PffJRW5LS91a64QGtyfRoZHN2CJUe W1QVi52cg6Fj0/0caB4nkqwD8jplPck3TqCTnxp+n8BGLwVaKADBtbRlFHTH2Xjw SwcefV2REFxCrLTwHFtD/0yyq8cZzVzHbnOoMT3po21UEm2DF6QNepGBQmTxD5Be Pkf5pu05RRwNv9k0mnC8MN8KsQpmkrl5vLLWcVFp/BJufQufIoZiRNCU9lEDCKy7 mpsiWgIzsqfMD5JqJo8/Uw0D+yY1+hsfRqLIg6/EnYcWCszz =jH3s -----END PGP SIGNATURE----- --9DvP7pgVgR2Sn9O4--