Skip to content

Commit af755be

Browse files
committed
修复不包含proto的bug
1 parent d7a4127 commit af755be

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ dependencies = [
1717

1818
[tool.poetry]
1919
packages = [{ include = "stimfileapi", from = "tool" }]
20+
include = [
21+
{ path = "tool/stimfileapi/proto/*.py", format = [
22+
"sdist",
23+
"wheel",
24+
] },
25+
]
26+
exclude = ["__pycache__/"] # 防止自动从 VCS 提取配置
27+
# https://python-poetry.org/docs/pyproject#exclude-and-include
2028

2129
[build-system]
2230
requires = ["poetry-core>=2.0.0,<3.0.0"]

0 commit comments

Comments
 (0)