fix: pyproject [project.scripts] 位置(避免键错入 scripts 表)
This commit is contained in:
+5
-5
@@ -3,6 +3,11 @@ build-backend = "hatchling.build"
|
|||||||
requires = ["hatchling"]
|
requires = ["hatchling"]
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
|
name = "chongming-worker"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "chongming worker"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.12"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"eclipse-zenoh>=1.9.0",
|
"eclipse-zenoh>=1.9.0",
|
||||||
"pydantic>=2.0",
|
"pydantic>=2.0",
|
||||||
@@ -11,11 +16,6 @@ dependencies = [
|
|||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
chongming-worker = "chongming_worker.process:worker_serve"
|
chongming-worker = "chongming_worker.process:worker_serve"
|
||||||
description = "chongming worker"
|
|
||||||
name = "chongming-worker"
|
|
||||||
readme = "README.md"
|
|
||||||
requires-python = ">=3.12"
|
|
||||||
version = "0.1.0"
|
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["src/chongming_worker"]
|
packages = ["src/chongming_worker"]
|
||||||
|
|||||||
Reference in New Issue
Block a user