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


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

Re: pybuild and setuptools_scm

From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: pybuild and setuptools_scm
Date 2024-07-12 01:10 +0200
Message-ID <IZb5f-1sQT-3@gated-at.bofh.it> (permalink)
References <IZ2Om-1nK4-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Paul (2024.07.11_14:01:01_+0000)

> I have been struggling to get some software packaged that relies on 
> setuptools_scm. It seems to effectively ignore the package data section in a 
> pyproject.toml file and to include a broader collection of files when being 

Which source package is this?
Where did the source come from? Git or PyPI tarball?

setuptools_scm gets stuff from SCM and uses it for metadata. During the
package build, the SCM isn't available (no .git directory in the source
package). So, it falls back to alternate modes:
1. The version gets put in an environment variable by pybuild.
2. The list of known files comes from the SOURCES.txt in egg-info. If
   you are using the upstream git for your source, you may be missing
   this. Try switching to a PyPI sdist.

Stefano

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

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


Thread

pybuild and setuptools_scm Paul Boddie <paul@boddie.org.uk> - 2024-07-11 16:20 +0200
  Re: pybuild and setuptools_scm Stefano Rivera <stefanor@debian.org> - 2024-07-12 01:10 +0200
    Re: pybuild and setuptools_scm Paul Boddie <paul@boddie.org.uk> - 2024-07-12 02:10 +0200
      Re: pybuild and setuptools_scm Stefano Rivera <stefanor@debian.org> - 2024-07-12 07:20 +0200
        Re: pybuild and setuptools_scm Paul Boddie <paul@boddie.org.uk> - 2024-07-12 13:10 +0200
          Re: pybuild and setuptools_scm Dmitry Shachnev <mitya57@debian.org> - 2024-07-12 22:30 +0200
          Re: pybuild and setuptools_scm Stefano Rivera <stefanor@debian.org> - 2024-07-13 01:40 +0200
          Re: pybuild and setuptools_scm Stefano Rivera <stefanor@debian.org> - 2024-07-13 01:40 +0200
            Re: pybuild and setuptools_scm Julian Gilbey <julian@d-and-j.net> - 2024-07-14 09:00 +0200
    Re: pybuild and setuptools_scm Mathias Behrle <mbehrle@debian.org> - 2024-07-12 09:10 +0200
      Re: pybuild and setuptools_scm Stefano Rivera <stefanor@debian.org> - 2024-07-16 05:10 +0200
        Re: pybuild and setuptools_scm Mathias Behrle <mbehrle@debian.org> - 2024-07-18 11:30 +0200
          Re: pybuild and setuptools_scm Paul Boddie <paul@boddie.org.uk> - 2024-07-18 11:50 +0200
          Re: pybuild and setuptools_scm Stefano Rivera <stefanor@debian.org> - 2024-07-19 13:10 +0200
            Re: pybuild and setuptools_scm Julian Gilbey <julian@d-and-j.net> - 2024-07-19 15:20 +0200
              Re: pybuild and setuptools_scm Stefano Rivera <stefanor@debian.org> - 2024-07-21 13:10 +0200

csiph-web