-
-
Notifications
You must be signed in to change notification settings - Fork 66
Expand file tree
/
Copy pathpyproject.toml
More file actions
94 lines (88 loc) · 2.64 KB
/
pyproject.toml
File metadata and controls
94 lines (88 loc) · 2.64 KB
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
[tool.poetry]
name = "histolab"
version = "0.7.0"
description = "Python library for Digital Pathology Image Processing"
authors = ["E. Arbitrio, N. Bussola, A. Marcolini"]
license = "Apache-2.0"
readme = "README.md"
maintainers = ["Ernesto Arbitrio <ernesto.arbitrio@gmail.com>", "Alessia Marcolini <98marcolini@gmail.com>", "Nicole Bussola <nicole.bussolaceradini@gmail.com>"]
homepage = "https://github.com/histolab/histolab"
repository = "https://github.com/histolab/histolab"
documentation = "https://histolab.readthedocs.io"
packages = [{include="histolab"}]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
Pillow = ">=9.1.0,<12.0.0"
scikit-image = ">=0.20.0,<0.24.1"
numpy = ">=1.23.2,<=2.0.2"
scipy = ">=1.5.0,<1.13.2"
openslide-python = ">=1.4.0,<1.4.3"
Sphinx = {version = ">=5.1.1,<8.0.0", optional = true}
sphinx-rtd-theme = {version = ">=1,<4", optional = true}
sphinxcontrib-katex = {version = ">=0.8.6,<0.10.0", optional = true}
sphinxemoji = {version = ">=0.2,<0.4", optional = true}
sphinx-prompt = {version = "1.8.0", optional = true}
certifi = ">=2023.7.22"
openslide-bin = "^4.0.0.13"
[tool.poetry.dev-dependencies]
flake8 = "*"
pre-commit = "^4.3.0"
pyflakes = "^3.0.1"
pycodestyle = "^2.10.0"
toml = "^0.10.2"
twine = "^6.2.0"
Sphinx = "^7.4.7"
sphinx-rtd-theme = "^3.1.0"
ipdb = "^0.13.13"
isort = "^6.1.0"
sphinxcontrib-katex = ">=0.8.6,<0.10.0"
pytest-html = "^4.2.0"
black = "^25.11.0"
sphinxemoji = "^0.3.2"
sphinx-prompt = "^1.7.0"
bandit = "^1.8.6"
large-image = ">=1.8.11,<1.32.10"
large-image-source-openslide = ">=1.8.11,<1.32.10"
large-image-source-pil = ">=1.8.11,<1.32.10"
pytest = "^8.4.2"
pytest-xdist = "^3.8.0"
pooch = "^1.9.0"
coverage = "^7.10.7"
pytest-cov = "^7.1.0"
pytest-benchmark = "^5.2.3"
[tool.poetry.extras]
docs = ["Sphinx", "sphinx-rtd-theme", "sphinxcontrib-katex", "sphinxemoji", "sphinx-prompt"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.pytest.ini_options]
looponfailroots = "tests"
python_classes = ["Test", "Describe"]
python_files = "test_*.py"
python_functions = ["test_", "it_", "they_", "but_", "and_it_", "or_it"]
testpaths = "tests"