-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
94 lines (83 loc) · 2.38 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
[project]
name = "rustac"
description = "The power of Rust for the Python STAC ecosystem"
readme = "README.md"
authors = [{ name = "Pete Gadomski", email = "[email protected]" }]
requires-python = ">=3.11"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Rust",
"Typing :: Typed",
]
keywords = ["stac", "geospatial"]
dynamic = ["version"]
dependencies = []
[project.optional-dependencies]
arrow = ["arro3-core>=0.4.5"]
[project.scripts]
rustac = "rustac:main"
[project.urls]
Repository = "https://github.com/stac-utils/rustac-py"
Documentation = "https://stac-utils.github.io/rustac-py"
Issues = "https://github.com/stac-utils/rustac-py/issues"
[tool.mypy]
files = "tests/**/*.py,docs/examples/**/*.py"
[[tool.mypy.overrides]]
module = ["pyarrow.*", "geopandas.*"]
ignore_missing_imports = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
exclude = ["python/rustac/__init__.py", "docs/examples/example_*.py"]
[dependency-groups]
dev = [
"geopandas>=1.0.1",
"maturin>=1.7.4",
"maturin-import-hook>=0.2.0",
"mypy>=1.11.2",
"pyarrow>=19.0.1",
"pystac[validation]>=1.11.0",
"pytest>=8.3.3",
"pytest-asyncio>=0.25.1",
"ruff>=0.6.9",
"stac-geoparquet>=0.6.0",
]
docs = [
"arro3-core>=0.4.5",
"contextily>=1.6.2",
"humanize>=4.12.1",
"ipykernel>=6.29.5",
"jinja2>=3.1.4",
"markdown-exec>=1.10.1",
"mike>=2.1.3",
"mkdocs-gallery>=0.10.4",
"mkdocs-material[imaging]>=9.5.45",
"mkdocstrings[python]>=0.27.0",
"pystac-client>=0.8.5",
]
[tool.uv]
default-groups = ["dev", "docs"]
cache-keys = [
{ file = "pyproject.toml" },
{ file = "Cargo.toml" },
{ file = "**/*.rs" },
]
[build-system]
requires = ["maturin>=1.7,<2.0"]
build-backend = "maturin"
[tool.maturin]
python-source = "python"
strip = true
opt-level = "z" # TODO compare with "s"
lto = true
codegen-units = 1