-
Notifications
You must be signed in to change notification settings - Fork 121
/
pyproject.toml
107 lines (93 loc) · 2.83 KB
/
pyproject.toml
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
100
101
102
103
104
105
106
107
[project]
name = "pystac"
description = "Python library for working with the SpatioTemporal Asset Catalog (STAC) specification"
readme = "README.md"
authors = [
{ name = "Rob Emanuele", email = "[email protected]" },
{ name = "Jon Duckworth", email = "[email protected]" },
]
maintainers = [{ name = "Pete Gadomski", email = "[email protected]" }]
keywords = ["pystac", "imagery", "raster", "catalog", "STAC"]
license = { text = "Apache-2.0" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.10"
dependencies = ["python-dateutil>=2.7.0"]
dynamic = ["version"]
[project.optional-dependencies]
jinja2 = ["jinja2<4.0"]
orjson = ["orjson>=3.5"]
urllib3 = ["urllib3>=1.26"]
validation = ["jsonschema~=4.18"]
[project.urls]
Documentation = "https://pystac.readthedocs.io"
Repository = "https://github.com/stac-utils/pystac"
Issues = "https://github.com/stac-utils/pystac/issues"
Changelog = "https://github.com/stac-utils/pystac/blob/main/CHANGELOG.md"
Discussions = "https://github.com/radiantearth/stac-spec/discussions/categories/stac-software"
[tool.coverage.run]
branch = true
source = ["pystac"]
omit = ["pystac/extensions/label.py"]
[tool.coverage.report]
fail_under = 90
exclude_lines = ["if TYPE_CHECKING:"]
[tool.doc8]
ignore-path = ["docs/_build", "docs/tutorials"]
max-line-length = 88
[tool.mypy]
show_error_codes = true
strict = true
[[tool.mypy.overrides]]
module = ["jinja2"]
ignore_missing_imports = true
[tool.ruff]
line-length = 88
lint.select = ["E", "F", "I"]
[tool.pytest.ini_options]
filterwarnings = ["error"]
[tool.setuptools.packages.find]
include = ["pystac*"]
exclude = ["tests*", "benchmarks*"]
[tool.setuptools.dynamic]
version = { attr = "pystac.version.__version__" }
[tool.uv]
dev-dependencies = [
"asv>=0.6.4",
"codespell<2.3",
"coverage>=7.6.2",
"doc8>=1.1.2",
"html5lib>=1.1",
"jinja2>=3.1.4",
"jsonschema>=4.23.0",
"mypy>=1.11.2",
"orjson>=3.10.7",
"packaging>=24.1",
"pre-commit>=4.0.1",
"pytest>=8.3.3",
"pytest-cov>=5.0.0",
"pytest-mock>=3.14.0",
"pytest-recording>=0.13.2",
"requests-mock>=1.12.1",
"ruff>=0.6.9",
"types-html5lib>=1.1.11.20240806",
"types-jsonschema>=4.23.0.20240813",
"types-orjson>=3.6.2",
"types-python-dateutil>=2.9.0.20241003",
"types-urllib3>=1.26.25.14",
"virtualenv>=20.26.6",
]
[tool.uv.workspace]
members = ["docs"]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"