-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
executable file
·32 lines (28 loc) · 1.13 KB
/
pyproject.toml
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
[tool.poetry]
name = "ndgr-client"
version = "0.1.0"
description = "NDGRClient: Nicolive NDGR Message Server Client Library"
authors = ["tsukumi <tsukumijima@users.noreply.github.com>"]
license = "MIT"
readme = "Readme.md"
[tool.taskipy.tasks]
# 生成した後に from dwango.nicolive を from ndgr_client.proto.dwango.nicolive に一括置換する
generate-proto = "find proto -name '*.proto' | xargs protoc --proto_path=proto --python_out=ndgr_client/proto --mypy_out=ndgr_client/proto && find ndgr_client/proto -name '*.py' -o -name '*.pyi' | xargs sed -i '' 's/ dwango\\.nicolive/ ndgr_client.proto.dwango.nicolive/g'"
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
beautifulsoup4 = "^4.12.3"
httpx = "^0.27.0"
lxml = "^5.2.2"
lxml-stubs = "^0.5.1"
protobuf = "<5.28.0" # protoc のバージョンに合わせないと警告が出る
pydantic = "^2.8.2"
typer = {version = "^0.12.3", extras = ["all"]}
typing-extensions = "^4.12.2"
websockets = "^12.0"
[tool.poetry.group.dev.dependencies]
mypy-protobuf = "^3.6.0"
protoc-wheel-0 = "^27.0"
taskipy = "^1.13.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"