Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (115 loc) · 3.14 KB
/
Copy pathpyproject.toml
File metadata and controls
131 lines (115 loc) · 3.14 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# package build
# https://peps.python.org/pep-0517/
[build-system]
requires = ["setuptools>=65", "wheel", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# package basics
# https://peps.python.org/pep-0621/
[project]
name = "bioio"
description = "Image reading, metadata management, and image writing for Microscopy images in Python"
keywords = []
readme = "README.md"
requires-python = ">=3.11"
license = { text = "BSD License" }
authors = [
{ email = "evamaxfieldbrown@gmail.com", name = "Eva Maxfield Brown" },
{ email = "danielt@alleninstitute.org", name = "Dan Toloudis" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
]
dynamic = ["version"]
dependencies = [
# We always pin a specific version of bioio-base with
# each release so that we avoid bioio + bioio-base misalignment.
"bioio-base~=4.0.1",
"dask[array]>=2021.4.1",
"fsspec[http]>=2022.8.0",
"numpy>=1.21.0",
"ome-types[lxml]>=0.4.0",
"semver>=3.0.1",
]
[project.urls]
Homepage = "https://github.com/bioio-devs/bioio"
"Bug Tracker" = "https://github.com/bioio-devs/bioio/issues"
Documentation = "https://bioio-devs.github.io/bioio"
"User Support" = "https://github.com/bioio-devs/bioio/issues"
# extra dependencies
# https://peps.python.org/pep-0621/#dependencies-optional-dependencies
[project.optional-dependencies]
lint = [
"pre-commit>=2.20.0",
]
test = [
"coverage>=5.1",
"pytest>=5.4.3",
"pytest-cov>=2.9.0",
"pytest-raises>=0.11",
"quilt3", # no pin to avoid pip cycling (boto is really hard to manage)
]
docs = [
"gitchangelog>=3.0.4",
"Sphinx>=8.0.0",
"furo>=2022.4.7",
"numpydoc",
"sphinx-copybutton",
"myst-parser>=1.0",
"linkify-it-py>=2.0.0",
]
dev = [
"ipython>=8.4.0",
]
# entry points
# https://peps.python.org/pep-0621/#entry-points
# [project.entry-points."console_scripts"]
# build settings
# https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html
[tool.setuptools]
zip-safe = false
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["docs*", "tests*", "*.tests", "*.tests.*"]
[tool.setuptools.package-data]
"*" = ["*.yaml", "py.typed"]
# tools
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
ignore = ["E402"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
# https://github.com/mgedmin/check-manifest#configuration
[tool.check-manifest]
ignore = [
".editorconfig",
".pre-commit-config.yaml",
".gitchangelog.rc",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"Justfile",
".cookiecutter.yaml",
"*docs/**",
"*tests/**",
]
[tool.pytest.ini_options]
addopts = "--cov=bioio --cov-report=xml --cov-report=html"
testpaths = ["bioio/tests"]
[tool.mypy]
files = "bioio/*.py"
ignore_missing_imports = true
disallow_untyped_defs = true
check_untyped_defs = true
show_error_codes = true