forked from stac-utils/pystac
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
98 lines (91 loc) · 2.94 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
[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.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
requires-python = ">=3.8"
dependencies = [
"importlib-resources>=5.12.0; python_version<'3.9'",
"python-dateutil>=2.7.0",
]
dynamic = ["version"]
[project.optional-dependencies]
bench = ["asv~=0.5", "virtualenv~=20.22"]
docs = [
"Sphinx~=6.2",
"ipython~=8.12",
"jinja2<4.0",
"jupyter~=1.0",
"nbsphinx~=0.9",
"pydata-sphinx-theme~=0.13",
"sphinx-autobuild==2021.3.14",
"sphinx-design~=0.4",
"sphinxcontrib-fulltoc~=1.2",
]
jinja2 = ["jinja2<4.0"]
orjson = ["orjson>=3.5"]
test = [
"black~=23.3",
"codespell~=2.2",
"coverage~=7.2",
"doc8~=1.1",
"html5lib~=1.1",
"jinja2<4.0",
"jsonschema>=4.0.1,<4.18",
"mypy~=1.2",
"orjson~=3.8",
"pre-commit~=3.2",
"pytest-cov~=4.0",
"pytest-mock~=3.10",
"pytest-recording~=0.13",
"pytest~=7.3",
"ruff==0.0.284",
"types-html5lib~=1.1",
"types-orjson~=3.6",
"types-python-dateutil~=2.8",
"types-urllib3~=1.26",
]
urllib3 = ["urllib3>=1.26"]
# jsonschema v4.18.2 breaks validation, and it feels safer to set a ceiling rather than just skip this version. The ceiling should be removed when the v4.18 lineage has settled down and feels safer.
validation = ["jsonschema>=4.0.1,<4.18"]
[project.urls]
homepage = "https://github.com/stac-utils/pystac"
documentation = "https://pystac.readthedocs.io"
repository = "https://github.com/stac-utils/pystac.git"
changelog = "https://github.com/stac-utils/pystac/blob/main/CHANGELOG.md"
discussions = "https://github.com/radiantearth/stac-spec/discussions/categories/stac-software"
[tool.setuptools.packages.find]
include = ["pystac*"]
exclude = ["tests*", "benchmarks*"]
[tool.setuptools.dynamic]
version = { attr = "pystac.version.__version__" }
[tool.ruff]
line-length = 88
select = ["E", "F", "I"]
[tool.pytest.ini_options]
filterwarnings = [
"error",
# Allows jsonschema's RefResolver deprecation warning through until we're
# updated to support jsonschema v4.18
"default::DeprecationWarning:pystac.validation.*",
]
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"