first commit

This commit is contained in:
2026-09-21 14:06:55 +08:00
commit f468845f67
15 changed files with 3015 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
name = "chongming-license-gui"
version = "0.1.0"
description = "chongming 机器码授权可视化工具(厂商侧):密钥管理 / 签发 / 查看校验"
readme = "README.md"
requires-python = ">=3.12"
dependencies = ["PySide6", "chongming-license"]
[tool.hatch.build.targets.wheel]
packages = ["src/chongming_license_gui"]
[[tool.uv.index]]
url = "http://124.71.68.6:3000/api/packages/chongming/pypi/simple/"
[tool.uv.sources]
# 本地开发用 path 引用同仓的 chongming-license,并设为 **editable**:
# 非 editable 的 path 依赖会被构建成 wheel 装进本环境,改库代码后必须重新 sync
# 才生效(否则会照旧导入旧版本,报"cannot import name ...",极易误判为代码有错)。
# 发布后应改为内部索引的 registry 依赖(与 chongming-auth / chongming-cache 一致),
# 届时删掉本节与 editable 设定即可。
# chongming-license = { path = "../license", editable = true }
[project.scripts]
chongming-license-gui = "chongming_license_gui.app:main"