-
Notifications
You must be signed in to change notification settings - Fork 26
/
pyproject.toml
54 lines (49 loc) · 1.63 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[tool.black]
line-length = 119
[tool.poetry]
name = "konoha"
version = "5.5.2"
description = "A tiny sentence/word tokenizer for Japanese text written in Python"
authors = ["himkt <himkt@klis.tsukuba.ac.jp>"]
readme = "README.md"
license = "MIT"
[tool.poetry.dependencies]
python = "^3.8.0"
janome = {version = "^0.5.0", optional = true}
natto-py = {version = "^1.0.0", optional = true}
kytea = {version = "^0.1.4", optional = true}
sentencepiece = {version = "^0.1.85", optional = true}
sudachipy = {version = "^0.5.0", optional = true}
boto3 = {version = "^1.34.0", optional = true}
fastapi = {version = "<1.0.0", optional = true}
uvicorn = {version = "<0.26.0", optional = true}
sudachidict-core = {version = "20230927", optional = true}
sphinx = {version = "^5.1.1", optional = true}
pydata-sphinx-theme = {version = "^0.10.1", optional = true}
nagisa = {version = "^0.2.7", optional = true}
rich = {version = "^13.7.0", optional = true}
requests = "<3.0.0"
[tool.poetry.dev-dependencies]
python-language-server = "^0.31.2"
pytest = "^5.3.2"
flake8 = "^3.7.9"
rope = "^0.14.0"
mypy = "^0.812"
black = "^19.10b0"
ipython = "^7.16.3"
isort = "^5.5.3"
httpx = "<1.0.0"
[tool.poetry.extras]
janome = ["janome"]
mecab = ["natto-py"]
kytea = ["kytea"]
sudachi = ["sudachipy", "sudachidict-core"]
nagisa = ["nagisa"]
sentencepiece = ["sentencepiece"]
remote = ["boto3"]
server = ["fastapi", "uvicorn", "rich"]
all = ["janome", "natto-py", "kytea", "sudachipy", "sudachidict-core", "nagisa", "sentencepiece", "boto3", "fastapi", "uvicorn", "rich"]
docs = ["sphinx", "pydata-sphinx-theme"]
[build-system]
requires = ["poetry>=1.0.2"]
build-backend = "poetry.masonry.api"