-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
106 lines (90 loc) · 2.45 KB
/
Copy pathpyproject.toml
File metadata and controls
106 lines (90 loc) · 2.45 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "gefolki"
dynamic = ["version"]
description = "GeFolki is a coregistration software for SAR/SAR and for other cases of remote sensing image coregistration (ex LIDAR/SAR, optics/SAR, hyperspectral/optics)"
readme = "README.md"
requires-python = ">=3.10"
license = "GPL-3.0"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
authors = [
{ name = "Fabrice Brito", email = "fabrice.brito@terradue.com" },
{ name = "pmembari", email = "parham.membari@terradue.com" },
{ name = "Aurelien Plyer" },
{ name = "Elise Colin-Koeniguer" },
{ name = "Flora Weissgerber et al" },
]
dependencies = [
"matplotlib",
"numpy",
"pillow",
"rasterio",
"scikit-image",
"scipy",
"click",
"imagecodecs",
"loguru",
]
[tool.hatch.version]
path = "src/gefolki/__about__.py"
[project.urls]
Homepage = "https://github.com/Terradue/gefolki"
Repository = "https://github.com/Terradue/gefolki"
[project.scripts]
gefolki-mining = "gefolki.cli:mining_cli"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/gefolki"]
[tool.hatch.build.targets.sdist]
include = [
"/src",
"/README.md",
"/LICENSE.txt",
]
[tool.hatch.envs.test]
dependencies = [
"pytest",
"matplotlib",
"numpy",
"pillow",
"rasterio",
"scikit-image",
"imagecodecs",
"scipy",
]
[tool.hatch.envs.test.scripts]
test = "PYTHONPATH=src pytest tests"
testv = "PYTHONPATH=src pytest -vv tests"
testlive = "RUN_LIVE_TESTS=1 PYTHONPATH=src pytest -vv tests"
cov = ["coverage erase", "PYTHONPATH=src coverage run --source=src/gefolki -m pytest tests", "coverage combine", "coverage report"]
[[tool.hatch.envs.test.matrix]]
python = [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
[tool.hatch.envs.dev]
description = "Development environment"
skip-install = true
dependencies = [
"ruff",
]
[tool.hatch.envs.dev.scripts]
lint = "ruff format src tests"
check = "ruff check --fix src tests"
[tool.hatch.envs.docs]
description = "Documentation generation environment"
dependencies = [
"mkdocs>=1.6.0",
"mkdocs-material>=9.5.0",
"mkdocstrings[python]>=0.28.0",
]
[tool.hatch.envs.docs.scripts]
serve = "mkdocs serve {args}"
build = "mkdocs build {args}"