-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (81 loc) · 1.77 KB
/
pyproject.toml
File metadata and controls
90 lines (81 loc) · 1.77 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
[project]
authors = [{name = "François Steinmetz", email = "fs@hygeos.com"}]
name = "polymer"
requires-python = ">= 3.11"
version = "v4.17.3"
description = "Polymer atmospheric correction algorithm (http://dx.doi.org/91364/OE.19.009783)"
dependencies = [
"numpy",
"h5py",
"pyhdf",
"cython",
"pandas",
"scipy",
"netcdf4",
"xarray",
"cfgrib",
]
[project.optional-dependencies]
git = [
"core @ git+https://github.com/hygeos/core",
"eoread @ git+https://github.com/hygeos/eoread",
"eotools @ git+https://github.com/hygeos/eotools",
]
msi = ["glymur", "pyproj"]
gdal = ["gdal"] # for GSW and landsat8
era5 = ["cdsapi"]
meris = ["pyepr"]
all = ["polymer[git]",
"polymer[msi]",
"polymer[gdal]",
"polymer[era5]",
"polymer[meris]",
]
[project.scripts]
polymer = "polymer.cli:main"
[build-system]
requires = [
"meson-python",
"cython",
"numpy",
"ninja",
]
build-backend = "mesonpy"
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["linux-64"]
[tool.pixi.pypi-dependencies]
# polymer = { path = ".", editable = true, extras = ["git"]}
core = { git = "git+https://github.com/hygeos/core"}
eoread = { git = "git+https://github.com/hygeos/eoread" }
eotools = { git = "git+https://github.com/hygeos/eotools" }
luts = { git = "git+https://github.com/hygeos/luts" }
[tool.setuptools.package-dir]
polymer = "polymer"
[tool.pixi.tasks]
tests = "pytest tests"
[tool.pixi.dependencies]
numpy = ">=2"
pytest = "*"
pytest-html = "*"
pytest-xdist = "*"
matplotlib-base = "*"
h5py = "*"
glymur = "*"
pyhdf = "*"
cython = "*"
gcc = "*"
gxx = "*"
pandas = "*"
scipy = "*"
gdal = "*"
cdsapi = "*"
pyproj = "*"
pyepr = "*"
netcdf4 = "*"
xarray = "*"
pint-xarray = "*"
cf-xarray = "*"
dask = "*"
meson = "*"
xlrd = "<2"