project: init

This commit is contained in:
2026-07-09 15:02:48 +08:00
commit 1eab966d29
3 changed files with 621 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
[project]
name = "capnpc-py"
version = "0.1.0"
description = "Cap'n Proto Python type stub generator (capnp compile plugin)"
requires-python = ">=3.10,<4"
dependencies = ["pycapnp~=2.0"]
license = "MIT"
readme = "README.md"
keywords = ["capnp", "capnproto", "pyi", "stub", "type-hints"]
authors = [
{name = "HivertMoZara",email = "worldmozara@163.com"},
]
[project.urls]
Repository = "https://github.com/NCBM/capnpc-py"
[project.scripts]
capnpc-py = "capnp_stubgen.plugin:main"
[dependency-groups]
dev = [
"pytest>=8",
]
[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"
[tool.pdm]
distribution = true
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.setuptools.packages.find]
where = ["src"]