Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13749

Re: Installing data files with pybuild

Path csiph.com!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Andrey Rahmatullin <wrar@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Installing data files with pybuild
Date Wed, 01 Dec 2021 18:30:02 +0100
Message-ID <DpBAC-55f-9@gated-at.bofh.it> (permalink)
References <DpBAC-55f-11@gated-at.bofh.it>
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 <wrar@debian.org>
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 <debian-python@lists.debian.org> archive/latest/19558
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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 <Yaewt26Vn0OJ3Chy@belkar.wrar.name>
X-Original-References <YaepiHhkx254R637@d-and-j.net>
Xref csiph.com linux.debian.maint.python:13749

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Dec 01, 2021 at 04:57:44PM +0000, Julian Gilbey wrote:
> Hello!
> 
> pybuild is magic.  It knows where the build directory is, despite it
> seemingly calling setup.py with no command line arguments specifying
> it!
> 
> 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.

-- 
WBR, wRAR

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: Installing data files with pybuild Andrey Rahmatullin <wrar@debian.org> - 2021-12-01 18:30 +0100
  Re: Installing data files with pybuild Louis-Philippe Véronneau <pollo@debian.org> - 2021-12-01 19:40 +0100
    Re: Installing data files with pybuild Julian Gilbey <jdg@debian.org> - 2021-12-01 22:50 +0100
      Re: Installing data files with pybuild Stefano Rivera <stefanor@debian.org> - 2021-12-02 02:30 +0100

csiph-web