mirror of
https://github.com/Aider-AI/aider
synced 2026-04-25 17:15:07 +02:00
feat: use cog to import exclude_website_pats and emit it into the toml
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# [[[cog
|
||||
# from aider.help_pats import exclude_website_pats
|
||||
# ]]]
|
||||
# [[[end]]]
|
||||
|
||||
[project]
|
||||
name = "aider-chat"
|
||||
description = "Aider is AI pair programming in your terminal"
|
||||
@@ -43,14 +48,10 @@ include = ["aider*", "aider.website"]
|
||||
|
||||
[tool.setuptools.exclude-package-data]
|
||||
"aider.website" = [
|
||||
"examples/**",
|
||||
"_posts/**",
|
||||
"HISTORY.md",
|
||||
"docs/benchmarks*md",
|
||||
"docs/ctags.md",
|
||||
"docs/unified-diffs.md",
|
||||
"docs/leaderboards/index.md",
|
||||
"assets/**",
|
||||
# [[[cog
|
||||
# print("\n".join(f' "{pat}",' for pat in exclude_website_pats))
|
||||
# ]]]
|
||||
# [[[end]]]
|
||||
]
|
||||
|
||||
[build-system]
|
||||
|
||||
Reference in New Issue
Block a user