Path: csiph.com!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Paul Boddie Newsgroups: linux.debian.maint.python Subject: Re: pybuild and setuptools_scm Date: Fri, 12 Jul 2024 13:10:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Jul 12 11:05:37 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.098 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -5.5 X-Greylist: delayed 332 seconds by postgrey-1.36 at bendel; Fri, 12 Jul 2024 11:05:24 UTC MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Mailing-List: archive/latest/22054 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/2318109.fNdOc2if0I@jason Approved: robomod@news.nic.it Lines: 18 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 12 Jul 2024 12:59:43 +0200 X-Original-Message-ID: <2318109.fNdOc2if0I@jason> X-Original-References: <6620201.UvQSDFcxLp@jason> <2245571.Ln9GNSyV1e@jason> <20240712051727.zwh52g4lkl74axv3@satie.tumbleweed.org.za> Xref: csiph.com linux.debian.maint.python:16018 On Friday, 12 July 2024 07:17:27 CEST Stefano Rivera wrote: > Hi Paul (2024.07.12_00:05:03_+0000) > > > The weird thing is that I can run "python3 -m build", even with the > > options that pybuild introduces, outside the gbp buildpackage environment, > > and it seems that the package data is obtained using setuptools_scm. But > > as part of the gbp invocation, the package data is limited to that > > mentioned in the deficient pyproject.toml file. > > Is your packaging in git? It'll be finding the list of files tracked by > git, from git. The packaging is in git, yes. I suppose what I don't understand is the role of setuptools_scm in building a package for installation (or the construction of a binary package). A source package will aim to incorporate all of the tracked files, but a built/binary package may not. Paul