-
Notifications
You must be signed in to change notification settings - Fork 28
/
pyproject.toml
100 lines (91 loc) · 2.64 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
[project]
name = "stactools"
description = "Command line tool and Python library for working with STAC"
readme = "README.md"
authors = [
{ name = "Rob Emanuele", email = "[email protected]" },
{ name = "Pete Gadomski", email = "[email protected]" },
]
maintainers = [{ name = "Pete Gadomski", email = "[email protected]" }]
license = { text = "Apache-2.0" }
keywords = ["pystac", "imagery", "raster", "catalog", "STAC"]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"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 = [
"antimeridian>=0.2.6",
"click>=8.1.3",
"fsspec[http]>=2021.7",
"lxml>=4.9.2",
"numpy>=1.23.0",
"pyproj>=3.3",
"pystac[validation]>=1.8.2",
"rasterio>=1.3.2",
"shapely>=2.0.1",
]
dynamic = ["version"]
[project.urls]
homepage = "https://github.com/stac-utils/stactools"
documentation = "https://stactools.readthedocs.io/"
repository = "https://github.com/stac-utils/stactools.git"
changelog = "https://github.com/stac-utils/stactools/blob/main/CHANGELOG.md"
discussions = "https://github.com/radiantearth/stac-spec/discussions/categories/stac-software"
[project.scripts]
stac = "stactools.cli.cli:run_cli"
[project.optional-dependencies]
dev = [
"black~=23.3",
"codespell~=2.2",
"importlib-metadata~=6.6",
"lxml-stubs~=0.4",
"mypy~=1.3",
"packaging~=23.1",
"pre-commit~=3.3",
"pylint~=2.17",
"pytest-cov~=3.0",
"pytest~=7.3",
"requests>=2.27.1",
"ruff==0.0.265",
"types-certifi~=2021.10.8",
"types-orjson~=3.6",
"types-python-dateutil~=2.8",
"types-requests~=2.30",
]
docs = [
"ipython~=8.12",
"jupyter~=1.0",
"nbsphinx~=0.9",
"pydata-sphinx-theme~=0.13",
"sphinx~=7.0",
"sphinx-autobuild==2021.3.14",
"sphinx-click~=4.4",
"sphinxcontrib-fulltoc~=1.2",
]
s3 = ["s3fs>=2021.7"]
validate = ["stac-check>=1.3.2", "stac-validator>=3.1.0"]
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = { attr = "stactools.core.__version__" }
[tool.ruff]
line-length = 88
select = ["E", "F", "I"]
[tool.mypy]
mypy_path = "src"
explicit_package_bases = true
namespace_packages = true
show_error_codes = true
strict = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = ["fsspec", "osgeo", "rasterio", "s3fs", "shapely"]
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = ["error:::pystac[.*]"]