forked from histolab/histolab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
96 lines (90 loc) · 2.71 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
[tool.poetry]
name = "histolab"
version = "0.6.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 <[email protected]>", "Alessia Marcolini <[email protected]>", "Nicole Bussola <[email protected]>"]
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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
]
[tool.poetry.dependencies]
python = ">=3.7,<3.11"
Pillow = ">=9.1.0,<10.0.0"
scikit-image = ">=0.19.0,<0.19.4"
numpy = ">=1.18.4,<1.23.1"
scipy = ">=1.5.0,<1.8.2"
openslide-python = ">=1.1.2, <1.2.1"
typing-extensions = "^4.0.0"
importlib-metadata = ">=4.12,<7.0"
Sphinx = {version = "^5.1.1", optional = true}
sphinx-rtd-theme = {version = ">=1,<3", optional = true}
sphinxcontrib-katex = {version = ">=0.8.6,<0.10.0", optional = true}
sphinxemoji = {version = "^0.2.0", optional = true}
sphinx-prompt = {version = "^1.5.0", optional = true}
certifi = ">=2023.7.22"
[tool.poetry.dev-dependencies]
flake8 = "*"
pre-commit = "^2.21.0"
pyflakes = "^3.0.1"
pycodestyle = "^2.10.0"
toml = "^0.10.2"
twine = "^4.0.2"
Sphinx = "^5.3.0"
sphinx-rtd-theme = "^2.0.0"
ipdb = "^0.13.13"
isort = "^5.11.5"
sphinxcontrib-katex = ">=0.8.6,<0.10.0"
pytest-html = "^3.2.0"
black = "^23.3.0"
sphinxemoji = "^0.2.0"
sphinx-prompt = "^1.5.0"
bandit = "^1.7.5"
large-image = ">=1.8.11,<1.25.1"
large-image-source-openslide = ">=1.8.11,<1.25.1"
large-image-source-pil = ">=1.8.11,<1.25.1"
pytest = "^7.4.2"
pytest-xdist = "^3.5.0"
pooch = "^1.8.0"
coverage = "^7.2.7"
pytest-cov = "^4.1.0"
pytest-benchmark = "^4.0.0"
[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"