-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpyproject.toml
More file actions
102 lines (89 loc) · 1.98 KB
/
Copy pathpyproject.toml
File metadata and controls
102 lines (89 loc) · 1.98 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]
requires = [
"setuptools>=65.5",
"wheel",
"setuptools_scm[toml]>=6.2",
"meson-python",
"meson >= 1.1.0",
"pybind11"
]
build-backend = "mesonpy"
[tool.meson-python.args]
setup = ["-Dbuild_cpp_tests=disabled"]
compile = ['-j4']
# enable setuptools_scm version
[tool.setuptools_scm]
[project]
name = "pandora"
dynamic = ["version"]
authors = [{ name = "CNES" }]
description = "Pandora is a stereo matching framework that helps emulate state of the art algorithms"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"numpy",
"xarray>=0.13.0",
"scipy",
"rasterio",
"json-checker",
"transitions",
"scikit-image>=0.19.0",
"importlib-metadata;python_version<'3.10'"
]
[project.optional-dependencies]
dev = [
"pandora[test]",
"pandora[docs]",
"pylint",
"pre-commit",
"mypy",
"black",
"types-setuptools",
"build",
"cibuildwheel==2.22.0",
"psutil",
"plotly"
]
test = [
"pytest",
"pytest-cov",
"pytest-html",
"pytest-mock",
]
sgm = [
"pandora_plugin_libsgm>=1.5.8"
]
mccnn = [
"pandora_plugin_mccnn>=1.3.8"
]
# If updated, align with docs/requirements.txt for Readthedocs CI
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx_autoapi",
"sphinx_tabs"
]
notebook = [
"jupyter-dash",
"plotly",
"bokeh>=3",
"matplotlib",
"graphviz",
"notebook",
"ipykernel"
]
[tool.black]
# https://github.com/psf/black
line-length = 120
exclude = "(.eggs|.git|.mypy_cache|.nox|.tox|_build|build|dist|venv)"
[project.scripts]
pandora = "pandora.Pandora:main"
[tool.cibuildwheel]
archs = "auto64"
skip = ["pp*", "cp36-*", "cp37-*", "cp38-*", "*-musllinux*"]
config-settings = {"setup-args" = "-Dbuild_cpp_tests=disabled"}
test-extras = ["test"]
test-command = "pytest {project}/tests/functional_tests/test_validation.py"
[tool.cibuildwheel.windows]
before-build = "pip install delvewheel"
repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}"