26 lines
820 B
TOML
26 lines
820 B
TOML
[build-system]
|
||||
|
|
build-backend = "hatchling.build"
|
|||
|
|
requires = ["hatchling"]
|
|||
|
|
|
|||
|
|
[project]
|
|||
|
|
name = "chongming-license"
|
|||
|
|
version = "0.1.0"
|
|||
|
|
description = "chongming 机器码授权:硬件指纹采集、license 载荷与 Ed25519 验签、插件白名单判定(网关与签发工具共用)"
|
|||
|
|
readme = "README.md"
|
|||
|
|
requires-python = ">=3.12"
|
|||
|
|
dependencies = [
|
|||
|
|
"cryptography",
|
|||
|
|
"orjson",
|
|||
|
|
"pydantic",
|
|||
|
|
]
|
|||
|
|
|
|||
|
|
# 不在此声明 [dependency-groups] dev:本包已加入根 workspace(members),
|
|||
|
|
# 其 dev group 会并入 workspace 解析,而根仓的测试统一放在 test/ 下运行。
|
|||
|
|
# 若日后需要独立开发,再按 utils/auth 的写法单独加上。
|
|||
|
|
|
|||
|
|
[tool.hatch.build.targets.wheel]
|
|||
|
|
packages = ["src/chongming_license"]
|
|||
|
|
|
|||
|
|
[[tool.uv.index]]
|
|||
|
|
url = "http://124.71.68.6:3000/api/packages/chongming/pypi/simple/"
|