-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
74 lines (67 loc) · 2.32 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "dedoc"
authors = [
{name = "Dedoc team", email = "[email protected]"}
]
maintainers = [
{name = "Oksana Belyaeva", email = "[email protected]"},
{name = "Andrew Perminov", email = "[email protected]"},
{name = "Anastasiya Bogatenkova", email = "[email protected]"}
]
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
]
description = "Extract content and logical tree structure from textual documents"
keywords = ["document analysis", "logical structure extraction", "OCR", "deep learning", "computer vision"]
readme="README.md"
license = {file = "LICENSE.txt"}
dynamic = ["dependencies", "version"]
requires-python = ">=3.6"
[tool.setuptools.dynamic]
version = {file = "VERSION"}
dependencies = {file = ["requirements.txt"]}
[tool.setuptools.packages.find]
where = ["."]
include = ["dedoc*"]
[project.optional-dependencies]
torch = ["torch~=1.11.0", "torchvision~=0.12.0"]
docs = [
"docutils==0.18.1",
"Sphinx==6.2.1",
"sphinx_rtd_theme==1.2.0", # for using sphinx_rtd_theme
"sphinx_copybutton==0.5.2", # for using copy button in code examples
"sphinx-togglebutton==0.3.2", # for using toggle button
"linuxdoc==20230506", # for using flat-table
"tabula-py==2.8.1", # for adding new doc type tutorial
"html2text==2024.2.26" # for using patterns tutorial
]
lint = [
"flake8==5.0.4",
"flake8-absolute-import==1.0.0.1",
"flake8-annotations==2.9.1",
"flake8-bugbear==23.3.12",
"flake8-builtins==2.1.0",
"flake8-fill-one-line>=0.4.2",
"flake8-import-order==0.18.2",
"flake8-multiline-containers==0.0.19",
"flake8-print==5.0.0",
"flake8-tidy-imports==4.10.0",
"flake8-quotes==3.3.2",
"flake8-use-fstring==1.4",
"pycodestyle==2.9.0",
"pep8-naming==0.13.3"
]
[project.scripts]
dedoc = "dedoc.main:main"
[project.urls]
homepage = "https://github.com/ispras/dedoc"
repository = "https://github.com/ispras/dedoc.git"
documentation = "https://dedoc.readthedocs.io"
changelog = "https://dedoc.readthedocs.io/en/latest/changelog.html"