Files
chongming-license-gui/pyproject.toml
T

45 lines
1.3 KiB
TOML
Raw Normal View History

2026-09-21 14:06:55 +08:00
[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"]
2026-09-22 16:08:12 +08:00
[[tool.uv.index]]
url = "https://pypi.org/simple"
default = true
2026-09-21 14:06:55 +08:00
[[tool.uv.index]]
url = "http://124.71.68.6:3000/api/packages/chongming/pypi/simple/"
[tool.uv.sources]
2026-09-22 16:08:12 +08:00
[dependency-groups]
dev = [
"nuitka>=4.2.1",
"psycopg[binary]>=3.2",
"pyinstaller>=6.22.3",
]
2026-09-21 14:06:55 +08:00
# 本地开发用 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"
2026-09-22 16:08:12 +08:00
[project.optional-dependencies]
postgres = [
"psycopg[binary]>=3.2",
]