-
Notifications
You must be signed in to change notification settings - Fork 31
/
pyproject.toml
95 lines (82 loc) · 2.23 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "detectree"
version = "0.5.1"
description = "Tree detection from aerial imagery in Python."
readme = "README.md"
authors = [
{ name = "Martí Bosch", email = "[email protected]" },
]
license = { text = "GPL-3.0" }
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8"
dependencies = [
"dask[delayed,distributed]",
"joblib",
"laspy[lazrs] >= 2.0.0",
"lightgbm",
"numpy >= 1.15",
"opencv-python >= 4.0.0",
"pandas >= 0.23",
"pymaxflow >= 1.0.0",
"rasterio >= 1.0.0",
"scikit-image",
"scikit-learn",
"scipy >= 1.0.0",
"skops",
"shapely",
"tqdm",
]
[project.urls]
Repository = "https://github.com/martibosch/detectree"
[project.scripts]
detectree = "detectree.cli.main:cli"
[project.optional-dependencies]
test = ["coverage[toml]", "pytest", "pytest-cov", "ruff"]
dev = ["build", "commitizen", "pre-commit", "pip", "toml", "tox", "twine"]
doc = ["m2r2", "pydata-sphinx-theme", "sphinx"]
[tool.setuptools.packages.find]
include = ["detectree", "detectree.*"]
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["D", "E", "F", "I", "ARG"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
known-first-party = ["detectree"]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401", "F403"]
"tests/test_detectree.py" = ["D"]
"docs/src/conf.py" = ["D"]
[tool.coverage.run]
source = ["detectree"]
[tool.coverage.report]
exclude_lines = [
"if self.debug:",
"pragma: no cover",
"raise NotImplementedError",
"except ModuleNotFoundError",
"except ImportError",
]
ignore_errors = true
omit = ["tests/*", "docs/conf.py"]
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$version"
version_provider = "pep621"
version_files = [
"detectree/__init__.py",
"pyproject.toml:version"
]