Files
ports/finance/beanquery/files/patch-pyproject.toml
T
Xin LI faf06e92b3 finance/beanquery: Exclude docs directory from package
The docs/ directory contains Sphinx documentation configuration that
should not be installed into site-packages. This was causing a file
conflict with py311-cheroot (both were installing
lib/python3.11/site-packages/docs/__pycache__/conf.cpython-311.opt-1.pyc).
2025-11-10 22:32:35 -08:00

14 lines
393 B
TOML

--- pyproject.toml.orig 2025-11-11 06:22:58 UTC
+++ pyproject.toml
@@ -51,8 +51,8 @@ issues = 'https://github.com/beancount/beanquery/issue
homepage = 'https://github.com/beancount/beanquery'
issues = 'https://github.com/beancount/beanquery/issues'
-[tool.setuptools.packages]
-find = {}
+[tool.setuptools.packages.find]
+exclude = ["docs", "docs.*"]
[tool.coverage.run]
branch = true