Control: tags -1 patch
Control: severity -1 important

Hi,

One thing that I didn't explain correctly in the previous message is
that this issue in particular happens when building for 2 different
Python versions (in this case, 3.14 and 3.15), so it won't happen if you
build against sid.

Anyway, here is a patch that solves this problem by avoiding the
installation of docs and tests.

Happy hacking,
--
"It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration."
-- Edsger W. Dijkstra
Saludos /\/\ /\ >< `/
From: Cédric Krier <[email protected]>
Date: Thu, 18 Dec 2025 10:37:37 +0100
Subject: Do not install docs nor tests directories
Origin: upstream, https://github.com/WhyNotHugo/python-barcode/commit/5e16cba3b3e1d3902cab850701c44b0fddbff4ff

---
 pyproject.toml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -43,11 +43,8 @@
 issues = "https://github.com/WhyNotHugo/python-barcode/issues";
 funding= "https://whynothugo.nl/sponsor/";
 
-[tool.setuptools]
-include-package-data = true
-
-[tool.setuptools.packages.find]
-exclude = ["tests"]
+[tool.setuptools.package-data]
+barcode = ["barcode/fonts/*.ttf"]
 
 [tool.setuptools_scm]
 write_to = "barcode/version.py"

Attachment: signature.asc
Description: PGP signature

Reply via email to