From 5e16cba3b3e1d3902cab850701c44b0fddbff4ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 18 Dec 2025 10:37:37 +0100 Subject: [PATCH] Do not install docs nor tests directories --- pyproject.toml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 891d6c3..7949cb9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,11 +41,8 @@ repository = "https://github.com/WhyNotHugo/python-barcode" 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"