Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #17391
| From | Ole Streicher <olebole@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | asdf-coordinates-schemas: Including package data in pybuild |
| Date | 2026-02-08 18:50 +0100 |
| Message-ID | <Mmh4Z-gInF-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hi, I am trying to package version 0.5.1 of the asdf-coordinates-schema package and somehow fail to include the required package data. https://salsa.debian.org/debian-astro-team/asdf-coordinates-schemas The package consists of a few lines Python source in src/asdf_coordinates_schemas/, but mainly a number of resource files in the resources subdir. They are included by pyproject.toml: ----------------------------8<------------------------------- [tool.setuptools.package-data] "asdf_coordinates_schemas.resources" = ["resources/**/*.yaml"] [tool.setuptools.package-dir] '' = "src" "asdf_coordinates_schemas.resources" = "resources" ----------------------------8<------------------------------- This works find upstream, and also when I build it manually with python3 -m build --wheel --skip-dependency-check --no-isolation --outdir foo And it works if I run a plain "debuild" as ordinary user -- all resource files are included in the .deb. When I build it as root, or f.e. "sudo debuild", or in cowbuilder (or on Gitlab), the data files are not included in the .deb. "sudo python3 -m build..." however includes them, as well as "sudo make -f debian/rules build-indep" Why (and how) does debuild exclude the resources if run as root and how can I enforce them in the package? Cheers Ole
Back to linux.debian.maint.python | Previous | Next | Find similar
asdf-coordinates-schemas: Including package data in pybuild Ole Streicher <olebole@debian.org> - 2026-02-08 18:50 +0100
csiph-web