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


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

Re: Installing data files with pybuild

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Installing data files with pybuild
Date Thu, 02 Dec 2021 02:30:01 +0100
Message-ID <DpJ57-1du-3@gated-at.bofh.it> (permalink)
References <DpBAC-55f-11@gated-at.bofh.it> <DpBAC-55f-9@gated-at.bofh.it> <DpCGn-5Gh-13@gated-at.bofh.it> <DpFEd-7qv-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Dec 2 01:20:02 2021
Old-Return-Path <stefano@rivera.za.net>
X-Amavis-Spam-Status No, score=-6.88 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
Mail-Followup-To debian-python@lists.debian.org
X-Gpg-Public-Key http://www.rivera.za.net/stefano.gpg
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
User-Agent NeoMutt/20201127
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19565
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20211202011945.xjhswqsag3fcfumv@satie.tumbleweed.org.za
Approved robomod@news.nic.it
Lines 19
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 2 Dec 2021 01:19:45 +0000
X-Original-Message-ID <20211202011945.xjhswqsag3fcfumv@satie.tumbleweed.org.za>
X-Original-References <YaepiHhkx254R637@d-and-j.net> <Yaewt26Vn0OJ3Chy@belkar.wrar.name> <3d81d3f5-e425-73be-ec91-797dc1af41f6@debian.org> <YafteuvFyGrLWsxE@d-and-j.net>
Xref csiph.com linux.debian.maint.python:13757

Show key headers only | View raw


Hi Julian (2021.12.01_21:47:38_+0000)
> I don't understand why the files are not correctly installed by
> setup.py; it has set include_package_data=True, which includes the
> files (and file patterns) listed in MANIFEST.in, but it seems that
> this is only used for the bdist and sdist targets of setup.py, but not
> for the install target.

Correct, the package_data key needs to be set in setup.py / cfg to
install data in bdist_wheels and install:
https://setuptools.pypa.io/en/latest/userguide/datafiles.html

I would suggest forwarding a patch upstream that does that.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Back to linux.debian.maint.python | Previous | Next — Previous 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