-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (75 loc) · 2.43 KB
/
pyproject.toml
File metadata and controls
90 lines (75 loc) · 2.43 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "xarray-dataclass"
dynamic = ["version"]
description = "xarray data creation by data classes"
authors = [
{name = "Akio Taniguchi", email = "taniguchi.akio@gmail.com"},
{name = "Wouter-Michiel Vierdag", email = "michiel.vierdag@scverse.org"}
]
readme = "README.md"
license.file = "LICENSE"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
keywords = ["xarray", "dataclass", "dataarray", "dataset", "typing"]
requires-python = ">=3.9, <3.14"
dependencies = [
"numpy >=2.0.0,<3",
"xarray >=2022.3,<2026",
"typing-extensions>=4.10.0,<5"]
[project.urls]
Homepage = "https://github.com/xarray-contrib/xarray-dataclasses/"
Repository = "https://github.com/xarray-contrib/xarray-dataclasses/"
Documentation = "https://xarray-contrib.github.io/xarray-dataclasses/"
[project.optional-dependencies]
dev = [
"build>=1.0.0",
"ipython>=8.12",
"myst-parser>=3.0",
"pydata-sphinx-theme>=0.14",
"pytest>=8.2",
"sphinx>=7.1",
"twine>=4.0.0",
"pre-commit>=4.2.0,<5"
]
[tool.hatch.build]
include = [
"README.md",
"LICENSE"
]
[tool.hatch.version]
path = "src/xarray_dataclasses/__about__.py"
[tool.hatch.build.targets.wheel]
packages = ["src/xarray_dataclasses"]
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["win-64", "linux-64", "osx-64", "osx-arm64"]
[tool.pixi.environments]
default = { solve-group = "default" }
dev = { features = ["dev"], solve-group = "default" }
[tool.pixi.feature.dev.tasks]
tests = "pytest"
doc_build = { cmd = "sphinx-apidoc -efT -o docs/_apidoc src/xarray_dataclasses && sphinx-build -a docs docs/_build" }
[tool.pyright]
reportMissingImports = "none"
reportImportCycles = "none"
reportUnknownArgumentType = "none"
reportUnknownMemberType = "none"
reportUnknownVariableType = "none"
reportUnknownParameterType = "none"
reportUntypedFunctionDecorator = "none"
typeCheckingMode = "strict"
[tool.pixi.pypi-dependencies]
xarray-dataclass = { path = ".", editable = true }
[tool.pixi.dependencies]
# Allows to specify the pixi conda executable to be able to set the python interpreter.
pixi-pycharm = ">=0.0.8,<0.0.9"