build: Update pyproject.toml to exclude additional website files

This commit is contained in:
Paul Gauthier 2024-08-13 09:47:20 -07:00 committed by Paul Gauthier (aider)
parent 458864be45
commit d5f59d72e4
2 changed files with 13 additions and 16 deletions

View file

@ -49,8 +49,16 @@ include = ["aider*", "aider.website"]
[tool.setuptools.exclude-package-data]
"aider.website" = [
# [[[cog
# print("\n".join(f' "{pat}",' for pat in exclude_website_pats))
# cog.out("\n".join(f' "{pat}",' for pat in exclude_website_pats))
# ]]]
"examples/**",
"_posts/**",
"HISTORY.md",
"docs/benchmarks*md",
"docs/ctags.md",
"docs/unified-diffs.md",
"docs/leaderboards/index.md",
"assets/**",
# [[[end]]]
]