first commit

This commit is contained in:
2026-09-21 11:00:37 +08:00
commit f4a319337a
10 changed files with 2415 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
[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/"