-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
104 lines (91 loc) · 2.67 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[tool.poetry]
name = "dhlab"
version = "2.41.0"
description = "Text and image analysis of the digital collection (books, newspapers, periodicals, and images) at the National Library of Norway"
authors = ["The Digital Humanities Lab at The National Library of Norway (NB) <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://www.nb.no/dh-lab/"
documentation = "https://dhlab.readthedocs.io/en/stable/"
repository = "https://github.com/NationalLibraryOfNorway/DHLAB"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
include = ["CHANGELOG.md", "LICENSE"]
exclude = ["docs/", "tests/"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/NationalLibraryOfNorway/DHLAB/issues"
"Changelog" = "https://github.com/NationalLibraryOfNorway/DHLAB/blob/main/CHANGELOG.md"
"Tutorials" = "https://nationallibraryofnorway.github.io/digital_tekstanalyse/tutorial.html"
[tool.poetry.dependencies]
python = ">=3.9"
ipython = "^8.17.2"
matplotlib = "^3.8.1"
networkx = "^3.2.1"
pandas = "^2.1.2"
python-louvain = "^0.16"
requests = "^2.31.0"
seaborn = "^0.13.0"
scipy = { version = "^1.11.3", python = ">=3.9,<3.13" }
openpyxl = "^3.1.2"
beautifulsoup4 = "^4.12.2"
numpy = "^1.26.3"
jinja2 = "^3.1.4"
tqdm = "^4.66.6"
[tool.poetry.group.docs.dependencies]
Sphinx = "^7.2.6"
furo = "^2023.9.10"
myst-parser = "^2.0.0"
readthedocs-sphinx-search = "^0.3.1"
sphinx-copybutton = "^0.5.2"
sphinx-togglebutton = "^0.3.2"
sphinx_design = "^0.5.0"
sphinx_inline_tabs = "^2023.4.21"
mkdocs = "^1.5.2"
mkdocstrings = {extras = ["python"], version = "^0.22.0"}
mkdocs-material = "^9.1.21"
mkdocs-section-index = "^0.3.5"
mkdocs-autorefs = "^0.5.0"
sphinx-autodoc2 = "^0.5.0"
sphinx-book-theme = "^1.1.2"
linkify-it-py = "^2.0.3"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.26.0"
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
mypy = "^1.6.1"
black = "^23.10.1"
isort = "^5.12.0"
ruff = "^0.3.0"
[tool.poetry.group.test.dependencies]
mypy = "^1.6.1"
pytest = "^7.4.3"
pytest-cov = "^4.1.0"
pytest-mock = "^3.12.0"
[tool.poetry-dynamic-versioning]
enable = false
bump = false
vcs = "git"
format = "v{base}{stage}{revision}"
[tool.poetry-dynamic-versioning.substitution]
files = ["dhlab/_version.py"]
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.isort]
profile = "black"
[tool.mypy]
files = "tests"
mypy_path = "dhlab"
namespace_packages = true
explicit_package_bases = false
show_error_codes = true
warn_unused_configs = true
strict = true
enable_error_code = [
"ignore-without-code",
"redundant-expr",
"truthy-bool",
]