-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
132 lines (117 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
132 lines (117 loc) · 2.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
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
131
132
[project]
name = "pycsa-specappx"
dynamic = ["version"]
description = "Python package for spectral approximation methods applied to topographic analysis"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.10"
authors = [
{ name = "Ray Chew", email = "chew@caltech.edu" },
]
maintainers = [
{ name = "Ray Chew", email = "chew@caltech.edu" },
]
keywords = [
"spectral approximation",
"constrained spectral approximation",
"topography",
"subgrid orography",
"ICON",
"ETOPO",
"MERIT",
"gravity waves",
"atmospheric science",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"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 :: Atmospheric Science",
]
dependencies = [
"Cartopy>=0.25.0",
"dask[distributed]>=2026.1.2",
"h5py>=3.15.1",
"matplotlib>=3.10.7",
"netCDF4>=1.7.3",
"noise>=1.2.2",
"numba>=0.62.1",
"numpy>=2.2.6",
"pandas>=2.3.3",
"scipy>=1.15.3",
"tqdm>=4.66.0",
]
[project.optional-dependencies]
test = [
"pytest>=7.0",
"pytest-cov>=4.0",
"pyyaml>=6.0",
"scikit-learn>=1.7",
]
[project.urls]
Homepage = "https://github.com/ray-chew/pyCSA"
Documentation = "https://ray-chew.github.io/pyCSA"
Repository = "https://github.com/ray-chew/pyCSA"
Issues = "https://github.com/ray-chew/pyCSA/issues"
# Packaging
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = { attr = "pycsa.__version__" }
[tool.setuptools.packages.find]
where = ["."]
include = ["pycsa*"]
[tool.towncrier]
name = "pyCSA"
package = "pycsa"
directory = "changelog.d"
filename = "CHANGELOG.rst"
underlines = ["-", "^"]
title_format = "{version} ({project_date})"
[[tool.towncrier.type]]
directory = "security"
name = "Security"
showcontent = true
[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
showcontent = true
[[tool.towncrier.type]]
directory = "added"
name = "Added"
showcontent = true
[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
showcontent = true
[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
showcontent = true
# Pytest configuration
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
]
markers = [
"integration: integration tests (run full pipelines)",
"unit: unit tests (fast, isolated tests)",
"slow: slow tests (mark tests that take >10s)",
"regression: regression tests (require test data files)",
]