forked from edwardbair/SpiPy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
executable file
·99 lines (87 loc) · 2.85 KB
/
Copy pathpyproject.toml
File metadata and controls
executable file
·99 lines (87 loc) · 2.85 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
[build-system]
requires = ["setuptools>=61.0", "wheel", "numpy", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "spires"
description = "Python implementation of SPIRES (SPectral Inversion of REflectance from Snow) for retrieving snow properties from satellite imagery"
authors = [
{ name = "Ned Bair", email = "edwardbair@ucsb.edu" },
{ name = "Niklas Griessbaum" }
]
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.9"
license = { text = "MIT" }
keywords = ["remote sensing", "snow", "satellite", "spectral unmixing", "MODIS", "Sentinel-2", "Landsat"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"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",
"Programming Language :: Python :: 3.14",
"Programming Language :: C++",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = [
"numpy",
"h5py",
"scipy",
"xarray",
"netCDF4",
"pyproj",
"rioxarray",
]
dynamic = ["version"] # This tells the backend to get version from setuptools_scm
[project.urls]
Homepage = "https://github.com/NiklasPhabian/SpiPy"
Documentation = "https://spipy.readthedocs.io"
Repository = "https://github.com/NiklasPhabian/SpiPy"
"Bug Tracker" = "https://github.com/NiklasPhabian/SpiPy/issues"
Changelog = "https://github.com/NiklasPhabian/SpiPy/releases"
[project.optional-dependencies]
dev = [
"build",
"tox",
"setuptools-scm",
"matplotlib"
]
test = [
"tox",
"pytest"
]
docs = [
"sphinx",
"sphinx_automodapi",
"sphinx-rtd-theme",
"myst_parser",
"nbsphinx",
"sphinx_markdown_tables",
"pydata_sphinx_theme",
"dask[distributed]",
]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "node-and-date"
[tool.setuptools.packages.find]
exclude = ["tests*", "tests.*"]
[tool.pytest.ini_options]
# Only collect tests from these directories
testpaths = ["tests"]
# Add spires to python path to avoid import mismatches
pythonpath = ["."]
# Don't collect from examples (they require optional dependencies)
norecursedirs = ["examples", "doc", "build", "dist", ".git", ".tox"]
# Collect doctests from spires package
addopts = "--doctest-modules --ignore=tests/example.py --ignore=spires/reprojectMODIS.py"
# Configure doctest behavior
doctest_optionflags = ["NORMALIZE_WHITESPACE", "ELLIPSIS"]
# Only collect test files matching these patterns
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]