-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
104 lines (89 loc) · 2.02 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
104
[project]
name = "czi-roisplitter"
authors = [{name = "Hernando M Vergara", email= "[email protected]"}]
description = "opens .czi files from the slide scanner and selects rois and splits them"
readme = "README.md"
requires-python = ">=3.8.0"
dynamic = ["version"]
license = {text = "BSD-3-Clause"}
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
]
dependencies = [
"numpy",
]
[project.urls]
homepage = "https://github.com/HernandoMV/czi-roisplitter"
bug_tracker = "https://github.com/HernandoMV/czi-roisplitter/issues"
documentation = "https://github.com/HernandoMV/czi-roisplitter"
source_code = "https://github.com/HernandoMV/czi-roisplitter"
user_support = "https://github.com/HernandoMV/czi-roisplitter/issues"
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"coverage",
"tox",
"black",
"isort",
"mypy",
"pre-commit",
"flake8",
"setuptools_scm",
]
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm[toml]>=6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = ["czi_roisplitter*"]
exclude = ["tests*"]
[tool.pytest.ini_options]
addopts = "--cov=czi_roisplitter"
[tool.black]
target-version = ['py38', 'py39', 'py310']
skip-string-normalization = false
line-length = 79
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| examples
)/
)
'''
[tool.isort]
profile = "black"
line_length = 79
[tool.setuptools_scm]
[tool.check-manifest]
ignore = [
"*.yaml",
".bumpversion.cfg",
"tox.ini",
"tests/*",
"tests/test_unit/*",
"tests/test_integration/*",
".flake8"
]