feat: add wheel package
This commit is contained in:
+24
-1
@@ -1,5 +1,5 @@
|
||||
[project]
|
||||
name = "backend"
|
||||
name = "dataclaw"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
readme = "README.md"
|
||||
@@ -56,5 +56,28 @@ dependencies = [
|
||||
"python-pptx>=1.0.2",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
dataclaw = "app.cli:app"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.metadata]
|
||||
allow-direct-references = true
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["app"]
|
||||
|
||||
[tool.hatch.build.targets.wheel.sources]
|
||||
"app" = "app"
|
||||
|
||||
[tool.hatch.build.targets.wheel.force-include]
|
||||
"frontend/dist" = "app/webui"
|
||||
"main.py" = "main.py"
|
||||
|
||||
[tool.hatch.build.targets.sdist.force-include]
|
||||
"../frontend/dist" = "frontend/dist"
|
||||
|
||||
[tool.uv.sources]
|
||||
nanobot-ai = { path = "../nanobot", editable = true }
|
||||
|
||||
Reference in New Issue
Block a user