forked from pmgbergen/DarSIA
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (89 loc) · 3.2 KB
/
pyproject.toml
File metadata and controls
102 lines (89 loc) · 3.2 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
# ── Build system ──────────────────────────────────────────────────────────────
[build-system]
requires = ["setuptools>=64", "numpy"]
build-backend = "setuptools.build_meta"
# ── Project metadata (replaces setup.py) ──────────────────────────────────────
[project]
name = "darsia"
version = "1.1.0"
description = "Darcy scale image analysis toolbox"
readme = "README.md"
license = { file = "LICENSE.txt" }
requires-python = ">=3.10"
keywords = ["darcy", "image analysis", "porous media", "flow"]
authors = [
{ name = "Jakub Wiktor Both", email = "jakub.both@uib.no" },
{ name = "Trygve Tegnander" },
{ name = "Enrico Facca" },
{ name = "Erlend Storvik" },
{ name = "Jan Martin Nordbotten" },
]
maintainers = [{ name = "Jakub Wiktor Both", email = "jakub.both@uib.no" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
dependencies = [
"natsort",
"numpy",
"opencv-python",
"scipy",
"matplotlib",
"scikit-image",
"future",
"colour-science",
"colour-checker-detection",
"ipympl",
"pillow",
"scikit-learn",
"pandas",
"plotly",
"largestinteriorrectangle",
"pydicom",
"pyamg",
"shapely",
"openpyxl",
]
[project.urls]
Homepage = "https://github.com/pmgbergen/DarSIA"
Repository = "https://github.com/pmgbergen/DarSIA.git"
Issues = "https://github.com/pmgbergen/DarSIA/issues"
# ── Optional dependencies (replaces extras_require in setup.py) ───────────────
[project.optional-dependencies]
dev = [
"pytest>=7.1",
"black==24.10.0",
"isort",
"flake8",
"mypy",
"meshio",
"deepdiff",
"pyamg",
]
petsc = ["petsc4py"]
# ── Setuptools package discovery (replaces find_packages in setup.py) ─────────
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
darsia = ["py.typed"]
# ── pytest (migrated from setup.cfg [tool:pytest]) ───────────────────────────
[tool.pytest.ini_options]
python_files = ["tests/*.py"]
# ── Black ─────────────────────────────────────────────────────────────────────
[tool.black]
line-length = 88
target-version = ["py312"]
required-version = "24.10.0"
# ── isort ─────────────────────────────────────────────────────────────────────
[tool.isort]
profile = "black"
line_length = 88
skip = ["src/darsia/__init__.py"]
# ── flake8 does not natively support pyproject.toml; config remains in setup.cfg