-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpyproject.toml
More file actions
85 lines (69 loc) · 2.41 KB
/
pyproject.toml
File metadata and controls
85 lines (69 loc) · 2.41 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
[project]
name = "smrt"
dynamic = ["version"]
description = "The Snow Microwave Radiative Transfer (SMRT) model is a highly modular model to compute the thermal emission and backscattering coefficient of snowpacks and other cryospheric bodies in the microwave domain."
authors = [
{name = "Ghislain Picard", email = "ghislain.picard@univ-grenoble-alpes.fr"},
{name = "Melody Sandells", email = "melody.sandells@gmail.com"},
{name = "Henning Löwe", email = "loewe@slf.ch"},
]
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy>=2,<3",
"pandas>=2.1.0,<4",
"scipy>=1,<2",
"xarray>=2024",
"numba>=0.58,<1",
"joblib>=1.3.2,<2",
]
[project.optional-dependencies]
progressbar = ["tqdm"]
pyrtlib = ["scikit-learn", "bs4", "netCDF4", "requests", "cdsapi", "cfgrib", "pyrtlib"]
gsw = ["gsw"]
[dependency-groups]
dev = ["pytest", "pytest-cov", "ruff", "sphinx_rtd_theme", "Sphinx>=1.6", "pre-commit", "pip-audit"]
benchmark = ["asv"]
[project.urls]
Homepage = "https://http://smrt-model.science/l"
Issues = "https://github.com/smrt/smrt-model/issues"
Documentation = "http://smrt.readthedocs.io/"
Repository = "https://github.com/smrt-model/smrt.git"
[build-system]
requires = ["setuptools >= 62",
"setuptools_scm[toml] >= 6.2",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ['smrt']
[tool.ruff]
select = ["E","F"]
line-length = 120
target-version = "py310"
lint.ignore = ["E741"]
lint.pydocstyle.convention = "google"
extend-exclude = ["attic"]
exclude= ["benchmarks"]
[tool.ruff.pydocstyle]
convention = "google"
[tool.setuptools_scm]
[tool.pixi.workspace]
channels = ["conda-forge"]
platforms = ["linux-64"]
exclude-newer = "1 month" # avoid installation of too new package (security, bugs...)
[tool.pixi.pypi-dependencies]
smrt = { path = ".", editable = true }
[tool.pixi.environments]
default = { solve-group = "default" }
gsw = { features = ["gsw"], solve-group = "default" }
progressbar = { features = ["progressbar"], solve-group = "default" }
pyrtlib = { features = ["pyrtlib"], solve-group = "default" }
dev = { features = ["dev"], solve-group = "default" }
benchmark = { features = ["benchmark"], solve-group = "default" }
[tool.pixi.tasks]