Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (82 loc) · 2.39 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (82 loc) · 2.39 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "planetarypy-ctx"
version = "0.1.0"
description = "MRO CTX support for planetarypy: EDR products, the ISIS calibration pipeline, and quick-view."
readme = "README.md"
requires-python = ">= 3.11, <4"
license = {text = "BSD license"}
authors = [
{name = "Planetarypy Developers", email = "69774+michaelaye@users.noreply.github.com"}
]
keywords = ["planetarypy", "planetary", "mars", "mro", "ctx"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dependencies = [
"planetarypy>=0.82.0",
"loguru",
"numpy",
"pandas",
"pooch",
"pvl",
"tomlkit",
"tqdm",
"yarl",
]
[project.optional-dependencies]
# ISIS-backed calibration and footprint geometry, plus the interactive viewer
# `plp ctxqv` uses. ISIS itself is a separate heavy install whose bin/ must be
# on PATH; this pulls only the Python-side glue.
isis = ["kalasiris", "geopandas", "hvplot"]
dev = [
"pytest",
"pytest-cov",
"pytest-xdist",
"ruff",
]
# Importing this module runs the ctx package's register_storage_resolver side
# effect before any plp command executes.
[project.entry-points."planetarypy.cli_plugins"]
ctx = "planetarypy_ctx.cli:register"
[project.urls]
Homepage = "https://github.com/planetarypy/planetarypy-ctx"
Repository = "https://github.com/planetarypy/planetarypy-ctx"
[tool.hatch.build.targets.wheel]
# Two roots: the PEP 420 namespace path that preserves
# `planetarypy.instruments.mro.ctx`, and the plugin's own package.
packages = ["src/planetarypy", "src/planetarypy_ctx"]
[tool.hatch.build]
include = [
"src/planetarypy/**/*.py",
"src/planetarypy_ctx/**/*.py",
"LICENSE",
"README.md",
"CHANGELOG.md",
]
[tool.ruff]
line-length = 100
[tool.ruff.lint]
select = ["E", "W", "F"]
ignore = ["E203", "E701"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401", "F403", "F405"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = """
-xvs
--import-mode=importlib
-n auto
"""
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]