forked from CNES/lenapy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (82 loc) · 1.76 KB
/
pyproject.toml
File metadata and controls
90 lines (82 loc) · 1.76 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 = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "lenapy"
version = "0.9"
description = "Second beta release of lenapy on github"
readme = "README.md"
authors = [
{ name = "Sebastien Fourest & EMC2 team", email = "sebastien.fourest@cnes.fr" }
]
license = { text = "GPL-3.0" }
requires-python = ">=3.7"
dependencies = [
"matplotlib>=3.6",
"xesmf>=0.8.2",
"xarray>=2024.2",
"gsw>=3.6.16",
"netCDF4>=1.6.5",
"pyyaml>=6.0",
"dask>=2023.6",
]
[tool.setuptools]
packages = [
"lenapy",
"lenapy.utils",
"lenapy.readers",
"lenapy.writers",
"lenapy.plots",
"lenapy.resources",
]
[tool.setuptools.package-data]
"lenapy.resources" = ["*"]
[project.entry-points."xarray.backends"]
lenapyNetcdf = "lenapy.readers.geo_reader:lenapyNetcdf"
lenapyMask = "lenapy.readers.geo_reader:lenapyMask"
lenapyOceanProducts = "lenapy.readers.ocean:lenapyOceanProducts"
lenapyGfc = "lenapy.readers.gravi_reader:ReadGFC"
lenapyGraceL2 = "lenapy.readers.gravi_reader:ReadGRACEL2"
lenapyShLoading = "lenapy.readers.gravi_reader:ReadShLoading"
[tool.black]
line-length = 88
target-version = ['py312']
[tool.isort]
profile = "black"
line_length = 88
[tool.coverage.run]
omit = [
"lenapy/readers/ocean.py",
"lenapy/plots/*.py"
]
[project.optional-dependencies]
formatter = [
"black ==24.8.0",
"isort ==5.13.2",
]
test = [
"pytest",
"pytest-cov",
"nbmake",
"pooch"
]
doc = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-mdinclude",
"sphinx-autodoc-typehints",
"nbsphinx",
]
notebook = [
"notebook ==7.3.3",
"myst-nb ==1.2.0",
"cartopy"
]
quality = [
"pylint",
"mccabe",
]
dev = [
"pre-commit",
"lenapy[formatter, test, doc, notebook, quality]",
]