Path: csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod From: Stefano Rivera Newsgroups: linux.debian.maint.python Subject: Re: Installing data files with pybuild Date: Thu, 02 Dec 2021 02:30:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Dec 2 01:20:02 2021 Old-Return-Path: 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: archive/latest/19565 List-ID: List-URL: 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: <3d81d3f5-e425-73be-ec91-797dc1af41f6@debian.org> Xref: csiph.com linux.debian.maint.python:13757 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