-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (34 loc) · 1.02 KB
/
pyproject.toml
File metadata and controls
39 lines (34 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[project]
name = "stimfileapi"
version = "0.1.3"
description = "StealthIM FileAPI Upload/Download Command Toolkit"
authors = [{ name = "cxykevin", email = "cxykevin@yeah.net" }]
license = { text = "GPLv2" }
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"grpclib (>=0.4.7,<0.5.0)",
"protobuf (>=6.30.2,<7.0.0)",
"typer (>=0.15.2,<0.16.0)",
"blake3 (>=1.0.4,<2.0.0)",
"aiofiles (>=24.1.0,<25.0.0)",
]
[tool.poetry]
packages = [{ include = "stimfileapi", from = "tool" }]
include = [
{ path = "tool/stimfileapi/proto/*.py", format = [
"sdist",
"wheel",
] },
]
exclude = ["__pycache__/"] # 防止自动从 VCS 提取配置
# https://python-poetry.org/docs/pyproject#exclude-and-include
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.group.dev.dependencies]
# grpcio = "^1.72.0rc1" # 阴间依赖版本问题
# grpcio-tools = "^1.72.0rc1"
mypy-protobuf = "^3.6.0"
[tool.poetry.scripts]
stimfileapi = "stimfileapi:app"