build: ship THIRD_PARTY_NOTICES and fix webui packaging in wheel
This commit is contained in:
@@ -16,6 +16,10 @@ classifiers = [
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
license-files = [
|
||||
"LICENSE",
|
||||
"THIRD_PARTY_NOTICES.md",
|
||||
]
|
||||
|
||||
dependencies = [
|
||||
"typer>=0.20.0,<1.0.0",
|
||||
@@ -113,6 +117,12 @@ include = [
|
||||
"nanobot/templates/**/*.md",
|
||||
"nanobot/skills/**/*.md",
|
||||
"nanobot/skills/**/*.sh",
|
||||
]
|
||||
# Build-time generated assets that live under .gitignore'd paths but must ship
|
||||
# in the wheel/sdist. `artifacts` bypasses the VCS filter (unlike `include`).
|
||||
# The webui is compiled via `bun run build` into nanobot/web/dist/ right before
|
||||
# `python -m build` runs.
|
||||
artifacts = [
|
||||
"nanobot/web/dist/**/*",
|
||||
]
|
||||
|
||||
@@ -131,6 +141,8 @@ include = [
|
||||
"bridge/",
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
"THIRD_PARTY_NOTICES.md",
|
||||
"pyproject.toml",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
|
||||
Reference in New Issue
Block a user