mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
feat: use cog to import exclude_website_pats and emit it into the toml
This commit is contained in:
parent
a8f82e9063
commit
5d14d93594
1 changed files with 9 additions and 8 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
# [[[cog
|
||||||
|
# from aider.help_pats import exclude_website_pats
|
||||||
|
# ]]]
|
||||||
|
# [[[end]]]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "aider-chat"
|
name = "aider-chat"
|
||||||
description = "Aider is AI pair programming in your terminal"
|
description = "Aider is AI pair programming in your terminal"
|
||||||
|
@ -43,14 +48,10 @@ include = ["aider*", "aider.website"]
|
||||||
|
|
||||||
[tool.setuptools.exclude-package-data]
|
[tool.setuptools.exclude-package-data]
|
||||||
"aider.website" = [
|
"aider.website" = [
|
||||||
"examples/**",
|
# [[[cog
|
||||||
"_posts/**",
|
# print("\n".join(f' "{pat}",' for pat in exclude_website_pats))
|
||||||
"HISTORY.md",
|
# ]]]
|
||||||
"docs/benchmarks*md",
|
# [[[end]]]
|
||||||
"docs/ctags.md",
|
|
||||||
"docs/unified-diffs.md",
|
|
||||||
"docs/leaderboards/index.md",
|
|
||||||
"assets/**",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue