forked from Vuizur/add-stress-to-epub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
55 lines (51 loc) · 2.16 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
55
[tool.poetry]
authors = ["Hannes Krumbiegel"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
]
description = "Stresses Russian texts and ebooks using ML grammar analysis and Wiktionary data"
keywords = ["russian", "stress", "wiktionary", "ebook"]
license = "GPLv3"
name = "russian-text-stresser"
readme = "README.md"
repository = "https://github.com/Vuizur/add-stress-to-epub"
version = "0.1.1"
[tool.poetry.dependencies]
PyQt6 = {version = "^6.3.1", optional = true}
beautifulsoup4 = "^4.11.1"
ebook-dictionary-creator = {git = "https://github.com/Vuizur/ebook_dictionary_creator", optional = true}
lxml = "^4.9.1"
mwxml = {version = "^0.3.3", optional = true}
openai = ">=0.24.0"
pymorphy2 = "^0.9.1"
python = "^3.8,<3.11"
ruwiktionary-htmldump-parser = {git = "https://github.com/Vuizur/ruwiktionary-htmldump-parser", optional = true}
spacy = "3.4.0"
stressed-cyrillic-tools = "^0.1.10"
russtress = {version = "^0.1.4", optional = true}
transliterate = "^1.10.2"
russian-stress-benchmark = {git = "https://github.com/Vuizur/russian-stress-benchmark", optional = true}
russ = {version = "^0.0.2", optional = true}
#numpy = "1.23.5" # russtress cannot handle newer versions, but if you uncomment this it breaks everything thanks to poetry
msgpack = {version = "^1.0.4", optional = true}
filelock = {version = "^3.9.0", optional = true}
pymorphy2-dicts-ru = "^2.4.417127.4579844"
importlib-metadata = {version = "^6.0.0", optional = true}
jsonschema = {version = "^4.17.3", optional = true}
pyrsistent = {version = "^0.19.3", optional = true}
[tool.poetry.dev-dependencies]
black = "^22.6.0"
mypy = "^0.971"
pyinstaller = "^5.3"
[tool.poetry.extras]
GUI = ["PyQt6"]
database-creation = ["ebook-dictionary-creator", "ruwiktionary-htmldump-parser", "mwxml"]
benchmark = ["russtress", "russian-stress-benchmark", "russ"]
#https://github.com/python-poetry/poetry/issues/3957
poetry-workaround = ["msgpack", "filelock", "importlib-metadata", "jsonschema", "pyrsistent"]
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]