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