refactor: 将装饰器 gobridge 重命名为 expose,并添加 pyproject.toml

This commit is contained in:
2026-04-13 17:13:54 +08:00
parent 308faa95ff
commit 07e9239ac5
4 changed files with 38 additions and 26 deletions

12
python/pyproject.toml Normal file
View File

@@ -0,0 +1,12 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "gobridge"
version = "0.1.0"
description = "Python 端库,配合 Go 侧 gobridge 使用"
requires-python = ">=3.10"
[tool.hatch.build.targets.wheel]
packages = ["gobridge"]