Skip to content

Commit 5e16cba

Browse files
committed
Do not install docs nor tests directories
1 parent 85acbda commit 5e16cba

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,8 @@ repository = "https://github.com/WhyNotHugo/python-barcode"
4141
issues = "https://github.com/WhyNotHugo/python-barcode/issues"
4242
funding= "https://whynothugo.nl/sponsor/"
4343

44-
[tool.setuptools]
45-
include-package-data = true
46-
47-
[tool.setuptools.packages.find]
48-
exclude = ["tests"]
44+
[tool.setuptools.package-data]
45+
barcode = ["barcode/fonts/*.ttf"]
4946

5047
[tool.setuptools_scm]
5148
write_to = "barcode/version.py"

0 commit comments

Comments
 (0)